Rect

Rect is a 2D rectangle value type.

For the visual rectangle item element, see Rectangle.

function Rect(Float x, Float y, Float width, Float height) → Rect

Return a Rect with the specified x, y, width and height values.

property Float x

property Float y

property Float width

property Float height

The rectangle's x, y, width and height values.