Path2D:getPathOffset
From GiderosMobile
Available since: Gideros 2025.2
Class: Path2D
Description
Gets the distance of a point in the path from the beginning.
(number),(number) = Path2D:getPathOffset(px,py,accuracy,nextSegment)
Parameters
px: (number) point x location
py: (number) point y location
accuracy: (number) accuracy optional default = 0.001
nextSegment: (number) next segment optional
Return values
Returns (number) distance from beginning on x
Returns (number) distance from beginning on y