movedBy

open override fun movedBy(offset: Vector2): Rectangle(source)

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