setLastPt

fun setLastPt(x: Float, y: Float): Path

Sets last point to (x, y). If Point array is empty, append PathVerb.MOVE to verb array and append (x, y) to Point array.

Return

this

Parameters

x

set x-axis value of last point

y

set y-axis value of last point

See also