|
| Rect (const Real &PosX, const Real &PosY, const Real &SizeX, const Real &SizeY) |
| Less Detailed Real Constructor. More...
|
|
| Rect (const Real &PosX, const Real &PosY, const Real &SizeX, const Real &SizeY, Boole Relative) |
| Real Constructor. More...
|
|
| Rect (const Vector2 &Position, const Vector2 &Size) |
| Less Detailed Vector2 Constructor. More...
|
|
| Rect (const Vector2 &Position, const Vector2 &Size, Boole Relative) |
| Vector2 Constructor. More...
|
|
| Rect (const Rect &Other) |
| Copy Constructor. More...
|
|
| Rect () |
| No Initialization Constructor. More...
|
|
| ~Rect () |
| Class destructor.
|
|
Rect & | ApplyScaling (const Vector2 &Scaling) |
| Scales this rect. More...
|
|
Boole | CheckOverlap (const Rect &OtherRect) const |
| Checks to see if another Rect is overlapping with this one. More...
|
|
Real | GetBottomEdge () const |
| Gets the value of the bottom edge of this rect. More...
|
|
Real | GetHorizontalCenter () const |
| Gets the value of the horizontal center of this rect. More...
|
|
Real | GetLeftEdge () const |
| Gets the value of the left edge of this rect. More...
|
|
Vector2 | GetRectCenter () const |
| Gets the coordinates to the center of this rect. More...
|
|
Real | GetRightEdge () const |
| Gets the value of the right edge of this rect. More...
|
|
Real | GetTopEdge () const |
| Gets the value of the top edge of this rect. More...
|
|
Real | GetVerticalCenter () const |
| Gets the value of the vertical center of this rect. More...
|
|
Boole | IsInside (const Vector2 &Point) const |
| Checks to see if a point in 2D space is inside this rect. More...
|
|
Boole | IsWithinHeight (const Real &Position) const |
| Gets whether or point on the Y axis is within the limits of this rect or not. More...
|
|
Boole | IsWithinWidth (const Real &Position) const |
| Gets whether or point on the X axis is within the limits of this rect or not. More...
|
|
Boole | operator!= (const Rect &Other) |
| Inequality Comparison Operator. More...
|
|
Rect & | operator= (const Rect &Other) |
| Assignment Operator. More...
|
|
Boole | operator== (const Rect &Other) |
| Equality Comparison Operator. More...
|
|
void | ProtoDeSerialize (const XML::Node &SelfRoot) |
| Take the data stored in an XML Node and overwrite this object with it. More...
|
|
void | ProtoSerialize (XML::Node &ParentNode) const |
| Convert this class to an XML::Node ready for serialization. More...
|
|
void | SetIdentity () |
| Sets all the values of this rect to zero.
|
|
This class represents a box shaped area on the screen.
Definition at line 55 of file rect.h.