예제 #1
0
 /// <summary>
 /// Creates a complex rectangle of this line by applying a width to it.
 /// </summary>
 public ComplexRectangle ToComplexRectangle(float width)
 {
     return(new ComplexRectangle(_Position, new Point(width, Length), new Point(width / 2, Length), Point1.GetAngleTo(Point2)));
 }