Movable

interface 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.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard