setPath

fun setPath(path: Path?, forceClosed: Boolean): PathMeasure

Reset the pathmeasure with the specified path. The parts of the path that are needed are copied, so the client is free to modify/delete the path after this call.