Example usage for Java android.graphics PathMeasure fields, constructors, methods, implement or subclass
The text is from its open source code.
PathMeasure(Path path, boolean forceClosed) Create a PathMeasure object associated with the specified path object (already created and specified). | |
PathMeasure() Create an empty PathMeasure object. |
float | getLength() Return the total length of the current contour, or 0 if no path is associated with this measure object. |
boolean | getPosTan(float distance, float pos[], float tan[]) Pins distance to 0 <= distance <= getLength(), and then computes the corresponding position and tangent. |
boolean | nextContour() Move to the next contour in the path. |
void | setPath(Path path, boolean forceClosed) Assign a new path, or null to have none. |