addAt

fun addAt(index: Int, x: Float, y: Float): Polyline

Adds a point to the polyline at an index

If the index is greater then the polyline size, the method acts like add

Return

this

Parameters

index

to add to point at

x

x point in pixels

y

y point in pixels