Path
Functions
Link copied to clipboard
Recursively subdivides linear Segment2Ds to approximate Bézier curves.
Link copied to clipboard
Link copied to clipboard
Returns specified amount of points of equal distance from each other, measured along the path. The first point is the start of the path, the last point is the end of an open path.
Link copied to clipboard
open fun equidistantPositionsWithT(pointCount: Int, distanceTolerance: Double = 0.5): List<Pair<T, Double>>
Returns specified amount of points of equal distance from each other, measured along the path, with their path parameter. The first point is the start of the path, the last point is the end of an open path.
Link copied to clipboard
Calculates the point at a given distance along this ShapeContour.
Link copied to clipboard
Returns a point on the path of the ShapeContour.
Link copied to clipboard
Estimates the t value for a given length.