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

Method getPoint

shared/java/Path.java:418–425  ·  view source on GitHub ↗

Returns Point at index in Point array. Valid range for index is 0 to countPoints() - 1. Returns (0, 0) if index is out of range. @param index Point array element selector @return Point array value or (0, 0) @see https://fiddl

(int index)

Source from the content-addressed store, hash-verified

416 * @see <a href="https://fiddle.skia.org/c/@Path_getPoint">https://fiddle.skia.org/c/@Path_getPoint</a>
417 */
418 public Point getPoint(int index) {
419 try {
420 Stats.onNativeCall();
421 return _nGetPoint(_ptr, index);
422 } finally {
423 Reference.reachabilityFence(this);
424 }
425 }
426
427 /**
428 * <p>Returns all points in Path.</p>

Callers 2

storageMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nGetPointMethod · 0.95

Tested by 1

storageMethod · 0.64