getPoints

fun getPoints(points: Array<Point?>?, max: Int): Int

Returns number of points in Path. Up to max points are copied.

points may be null; then, max must be zero. If max is greater than number of points, excess points storage is unaltered.

Return

Path Point array length

Parameters

points

storage for Path Point array. May be null

max

maximum to copy; must be greater than or equal to zero

See also