Constructors
LineF
#Create a new line.
LineF
#Create a new line from polar coordinates.
LineF
#public LineF(PointF start, PointF end)
Create a new line.
Parameters:
| start (PointF) | Start point. |
| end (PointF) | End point. |
Properties
Methods
ClosestParameter
#Find the parameter on the line closest to a point.
Parameters:
| point (PointF) | Point. |
| finiteSegment (bool) | If true, only the finite line segment will be taken into account. |
Returns: Parameter on line closest to point.
ClosestPoint
#Find the point on the line closest to another point.
Parameters:
| point (PointF) | Point. |
| finiteSegment (bool) | If true, only the finite line segment will be taken into account. |
Returns: Point on line closest to point.
Extend
#Extend the ends of the line by a physical distance.
FillBox
#Extend or clip this line so that it fills the interior of a box. If the line does not intersect with the box interior, a zero length segment is returned.
Parameters:
| box (RectangleF) | Boundary box. |
Returns: Modified line.
Intersect
#Find the intersection parameters between two lines.
Intersect
#Find the intersection points between this line and a box.
Move
#Move this line.