tidy up some doc comments

This commit is contained in:
Eliot Jones
2019-05-18 12:28:42 +01:00
parent f884674807
commit 7a3b89ece1
3 changed files with 6 additions and 11 deletions

View File

@@ -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>