moveVertex

abstract fun moveVertex(index: Int, newX: Double, newY: Double): Boolean

Moves a vertex of the polygon to a new absolute position.

Parameters

index

the index of the vertex to move

newX

new absolute x coordinate

newY

new absolute y coordinate