Class Path
A sequence of integer-valued points representing a single contour (see also terminology).
Paths may be open and represent a series of line segments bounded by 2 or more vertices, or they may be closed and represent polygons. Whether or not a path is open depends on context. Closed paths may be 'outer' contours or 'hole' contours. Which they are depends on orientation.
Multiple paths can be grouped into a Paths structure.
See also:
Methods
- Path:AddPoint (x, y)
-
Add a point to the end of the path.
Parameters:
- Path:Clear ()
- Remove all points from the path.
- Path:GetPoint (index)
-
Parameters:
- index
uint
Index of point, from 1 to
#self
.
Returns:
- index
uint
Index of point, from 1 to