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

Method getLastPt

shared/java/Path.java:1714–1721  ·  view source on GitHub ↗

Returns last point on Path in lastPt. Returns null if Point array is empty. @return point if Point array contains one or more Point, null otherwise @see https://fiddle.skia.org/c/@Path_getLastPt

()

Source from the content-addressed store, hash-verified

1712 * @see <a href="https://fiddle.skia.org/c/@Path_getLastPt">https://fiddle.skia.org/c/@Path_getLastPt</a>
1713 */
1714 public Point getLastPt() {
1715 try {
1716 Stats.onNativeCall();
1717 return _nGetLastPt(_ptr);
1718 } finally {
1719 Reference.reachabilityFence(this);
1720 }
1721 }
1722
1723 /**
1724 * Sets last point to (x, y). If Point array is empty, append {@link PathVerb#MOVE} to

Callers 2

storageMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nGetLastPtMethod · 0.95

Tested by 1

storageMethod · 0.64