rewind

fun rewind(): Path

Sets Path to its initial state, preserving internal storage. Removes verb array, Point array, and weights, and sets FillMode to kWinding. Internal storage associated with Path is retained.

Use .rewind instead of .reset if Path storage will be reused and performance is critical.

Return

this

See also