mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-22 12:09:50 +08:00
tidy up some doc comments
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
{
|
||||
get
|
||||
{
|
||||
decimal l = (Point1.X - Point2.X) * (Point1.X - Point2.X) +
|
||||
var l = (Point1.X - Point2.X) * (Point1.X - Point2.X) +
|
||||
(Point1.Y - Point2.Y) * (Point1.Y - Point2.Y);
|
||||
return (decimal)System.Math.Sqrt((double)l);
|
||||
}
|
||||
@@ -36,10 +36,10 @@
|
||||
/// <summary>
|
||||
/// Create a new <see cref="PdfLine"/>.
|
||||
/// </summary>
|
||||
/// <param name="x1"></param>
|
||||
/// <param name="y1"></param>
|
||||
/// <param name="x2"></param>
|
||||
/// <param name="y2"></param>
|
||||
/// <param name="x1">The x coordinate of the first point on the line.</param>
|
||||
/// <param name="y1">The y coordinate of the first point on the line.</param>
|
||||
/// <param name="x2">The x coordinate of the second point on the line.</param>
|
||||
/// <param name="y2">The y coordinate of the second point on the line.</param>
|
||||
public PdfLine(decimal x1, decimal y1, decimal x2, decimal y2) : this(new PdfPoint(x1, y1), new PdfPoint(x2, y2)) { }
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user