Rect
Describes a rectangular region.
class Rect
Constructors
(x: Float, y: Float, width: Float, height: Float)
Creates a new Rect
with the given position and size.
Properties
x: Float (get/set)
The x coordinate
y: Float (get/set)
The y coordinate
width: Float (get/set)
The width of the region.
height: Float (get/set)
The height of the region.
Methods
to_string() -> (String)
Returns a string representation of the rect.