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
()
| 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 |