Sets last point to (x, y). If Point array is empty, append PathVerb#MOVE to verb array and append (x, y) to Point array. @param x set x-axis value of last point @param y set y-axis value of last point @return this @see https://fiddle.
(float x, float y)
| 1731 | * @see <a href="https://fiddle.skia.org/c/@Path_setLastPt">https://fiddle.skia.org/c/@Path_setLastPt</a> |
| 1732 | */ |
| 1733 | public Path setLastPt(float x, float y) { |
| 1734 | Stats.onNativeCall(); |
| 1735 | _nSetLastPt(_ptr, x, y); |
| 1736 | return this; |
| 1737 | } |
| 1738 | |
| 1739 | /** |
| 1740 | * Sets the last point on the path. If Point array is empty, append {@link PathVerb#MOVE} to |