moveVertex

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

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