Crazy Eddies GUI System
0.7.2
|
Area rectangle class built using unified dimensions (UDims). More...
Public Member Functions | |
URect (const UVector2 &min, const UVector2 &max) | |
URect (const UDim &left, const UDim &top, const UDim &right, const UDim &bottom) | |
URect (const URect &v) | |
Rect | asAbsolute (const Size &base) const |
Rect | asRelative (const Size &base) const |
const UVector2 & | getPosition () const |
UVector2 | getSize () const |
UDim | getWidth () const |
UDim | getHeight () const |
void | setPosition (const UVector2 &pos) |
void | setSize (const UVector2 &sz) |
void | setWidth (const UDim &w) |
void | setHeight (const UDim &h) |
void | offset (const UVector2 &sz) |
URect | operator* (const UDim &dim) const |
URect | operator+ (const URect &r) const |
Public Attributes | |
UVector2 | d_min |
UVector2 | d_max |
Area rectangle class built using unified dimensions (UDims).