🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

PathMeasure

PathMeasure

Source set: Android
public fun PathMeasure(): PathMeasure

PathMeasure

Source set: Common
public fun PathMeasure(): PathMeasure

Create an empty PathMeasure object. To uses this to measure the length of a path, and/or to find the position and tangent along it, call PathMeasure.setPath. Note that once a path is associated with the measure object, it is undefined if the path is subsequently modified and the measure object is used. If the path is modified, you must call PathMeasure.setPath with the path.