Movable

Functions

Link copied to clipboard
abstract fun movedBy(offset: Vector2): Movable

Creates a new shape with the same size but the current position offset by the given amount.

Link copied to clipboard
abstract fun movedTo(position: Vector2): Movable

Creates a new shape with the same size but the current position is set to position.