ly.img.android.pesdk.utils / FloatPointList / addPoint

addPoint

open fun addPoint(point: FloatArray!): Boolean

Appends the specified element to the end of this list.

Parameters

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.

Parameters

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).

Parameters

pointIndex - Int: index at which the specified element is to be inserted

point - FloatArray!: element to be inserted

Exceptions

IndexOutOfBoundsException -

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).

Parameters

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

Exceptions

IndexOutOfBoundsException -