Movable

interface Movable

Functions

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

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

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

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

Inheritors

Circle
Link copied to clipboard
Ellipse
Link copied to clipboard
Rectangle
Link copied to clipboard