updatePosition

abstract fun updatePosition(x: Double, y: Double)

Sets item's position to x and y

Parameters

x

to set

y

to set


open fun updatePosition(position: Point)

Sets item's Positionable.position to the given value

Parameters

position

to set