A class that is used by GeneralPath to iterate over the elements the path is made up of.
Inheritance Hierarchy
Remarks
This class cannot be instantiated
See Also
API
- createCursor
Members
No filters for this type
Properties
Gets the current end point of the last path element.
Gets the current end point of the last path element.
readonlyfinal
Property Value
The current end point.
Gets the type of the path at the position of the cursor.
Gets the type of the path at the position of the cursor.
readonlyfinal
Methods
Places the coordinates for the current type into the given array.
Places the coordinates for the current type into the given array.
Places the current end coordinates of the last path element into the array.
Places the current end coordinates of the last path element into the array.
final
Parameters
- coordinates: number[]
- An array with a length of at least 2.
Return Value
- PathType
- The type of the current element.
final
Return Value
- boolean
- Whether the cursor has been moved successfully.
falseif the cursor has been moved beyond the end of the path.
final
Return Value
- boolean
- Whether the move was successful.