top coordinate
width of the rectangle
height of the rectangle
Bottom coordinate
Bottom coordinate
Left coordinate
Left coordinate
right coordinate
right coordinate
Size as a vector. Setting this with shrink or grow the rectangle from top left corner. Do not set the components directly, it would not update the rectangle.
Size as a vector. Setting this with shrink or grow the rectangle from top left corner. Do not set the components directly, it would not update the rectangle.
Top coordinate
Top coordinate
Return a fresh rectangle initialized from an arbitrary object.
Return a fresh null rectangle (size = Vec2.null() and topright = Vec2.null())
Generated using TypeDoc
left coordinate