addPoint

Appends the specified element to the end of this list.

Return

true

Parameters

point

point to be appended to this list

open fun addPoint(point: Array<Float>): Boolean

Appends the specified element to the end of this list.

Return

true

Parameters

x

point x coordinate to be appended to this list

y

point y coordinate to be appended to this list

open fun addPoint(x: Float, y: Float): Boolean

Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

Parameters

point

element to be inserted

pointIndex

index at which the specified element is to be inserted

open fun addPoint(pointIndex: Int, point: Array<Float>)

Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

Parameters

pointIndex

index at which the specified element is to be inserted

x

point x coordinate to be inserted

y

point y coordinate to be inserted

open fun addPoint(pointIndex: Int, x: Float, y: Float)