- Correction of the PdfLine's length formula;

- Moving Line to TextLine
This commit is contained in:
BobLd
2019-05-15 19:44:47 +01:00
parent 97f0f6fe75
commit f4ec425bf0
3 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,8 @@
{
get
{
decimal l = (Point1.X - Point1.X) * (Point1.X - Point1.X) + (Point1.Y - Point1.Y) * (Point1.Y - Point1.Y);
decimal l = (Point1.X - Point2.X) * (Point1.X - Point2.X) +
(Point1.Y - Point2.Y) * (Point1.Y - Point2.Y);
return (decimal)System.Math.Sqrt((double)l);
}
}