Represents a collection of potentially non-consecutive segments.
Properties
IsClosed
#Gets whether this path is closed. Paths that are nearly closed are also considered truly closed.
Methods
AddSegment
#Add an arc segment to this path.
Parameters:
| arc (ArcF) | Arc segment to add. |
Returns: Extended path.
AddSegment
#Add a bezier segment to this path.
Parameters:
| bezier (BezierF) | Line segment to add. |
Returns: Extended path.
AddSegment
#Add a circle segment to this path.
Parameters:
| circle (CircleF) | Circle segment to add. |
Returns: Extended path.
AddSegment
#Add a line segment to this path.
Parameters:
| line (LineF) | Line segment to add. |
Returns: Extended path.
Close
#Close this path with a linear segment.
Returns: Closed path, or empty path if this path is empty.
CreateEmpty
#Create an empty path shape with a specific width.
Parameters:
| width (float) | Width of path. |
Returns: None path.
CreateFromSegments
#Create a path from individual segments.
IsCoincident
#Test whether a specific coordinate is coincident with this obstacle.
ModifyWidth
#Modify the width of this shape.
Parameters:
| width (float) | New width. |
Returns: Modified path.