diff --git a/src/UglyToad.PdfPig/Content/TextLine.cs b/src/UglyToad.PdfPig/Content/TextLine.cs
index 16f69823..61b69c7a 100644
--- a/src/UglyToad.PdfPig/Content/TextLine.cs
+++ b/src/UglyToad.PdfPig/Content/TextLine.cs
@@ -33,7 +33,7 @@ namespace UglyToad.PdfPig.Content
///
/// Create a new .
///
- /// The words contained in the word.
+ /// The words contained in the line.
public TextLine(IReadOnlyList words)
{
if (words == null)
diff --git a/src/UglyToad.PdfPig/Geometry/PdfLine.cs b/src/UglyToad.PdfPig/Geometry/PdfLine.cs
index 4903db44..81395325 100644
--- a/src/UglyToad.PdfPig/Geometry/PdfLine.cs
+++ b/src/UglyToad.PdfPig/Geometry/PdfLine.cs
@@ -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 @@
///
/// Create a new .
///
- ///
- ///
- ///
- ///
+ /// The x coordinate of the first point on the line.
+ /// The y coordinate of the first point on the line.
+ /// The x coordinate of the second point on the line.
+ /// The y coordinate of the second point on the line.
public PdfLine(decimal x1, decimal y1, decimal x2, decimal y2) : this(new PdfPoint(x1, y1), new PdfPoint(x2, y2)) { }
///
diff --git a/src/UglyToad.PdfPig/Geometry/PdfRectangle.cs b/src/UglyToad.PdfPig/Geometry/PdfRectangle.cs
index aabfc1b8..df8e985b 100644
--- a/src/UglyToad.PdfPig/Geometry/PdfRectangle.cs
+++ b/src/UglyToad.PdfPig/Geometry/PdfRectangle.cs
@@ -71,10 +71,6 @@
///
/// Create a new .
///
- ///
- ///
- ///
- ///
public PdfRectangle(decimal x1, decimal y1, decimal x2, decimal y2)
{
decimal bottom;
@@ -132,7 +128,6 @@
///
/// To string override.
///
- ///
public override string ToString()
{
return $"[{TopLeft}, {Width}, {Height}]";