MCPcopy Create free account
hub / github.com/JetBrains/skija / reset

Method reset

shared/java/Path.java:198–202  ·  view source on GitHub ↗

Sets Path to its initial state. Removes verb array, Point array, and weights, and sets FillMode to PathFillMode#WINDING. Internal storage associated with Path is released. @return this @see https://fiddle.skia.org/c/@Path_rese

()

Source from the content-addressed store, hash-verified

196 * @see <a href="https://fiddle.skia.org/c/@Path_reset">https://fiddle.skia.org/c/@Path_reset</a>
197 */
198 public Path reset() {
199 Stats.onNativeCall();
200 _nReset(_ptr);
201 return this;
202 }
203
204 /**
205 * <p>Sets Path to its initial state, preserving internal storage.

Calls 2

onNativeCallMethod · 0.95
_nResetMethod · 0.95

Tested by 1

checksMethod · 0.36