open fun addPoint(point: FloatArray!): Boolean
Appends the specified element to the end of this list.
point
- FloatArray!: point to be appended to this list
Return
Boolean: true
open fun addPoint(x: Float, y: Float): Boolean
Appends the specified element to the end of this list.
x
- Float: point x coordinate to be appended to this list
y
- Float: point y coordinate to be appended to this list
Return
Boolean: true
open fun addPoint(pointIndex: Int, point: FloatArray!): Unit
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).
pointIndex
- Int: index at which the specified element is to be inserted
point
- FloatArray!: element to be inserted
open fun addPoint(pointIndex: Int, x: Float, y: Float): Unit
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).
pointIndex
- Int: index at which the specified element is to be inserted
x
- Float: point x coordinate to be inserted
y
- Float: point y coordinate to be inserted