Urho3D
|
Two-dimensional bounding rectangle with integer values. More...
#include <Rect.h>
Public Member Functions | |
IntRect () | |
Construct an undefined rect. | |
IntRect (int left, int top, int right, int bottom) | |
Construct from coordinates. | |
bool | operator== (const IntRect &rhs) const |
Test for equality with another rect. | |
bool | operator!= (const IntRect &rhs) const |
Test for inequality with another rect. | |
IntVector2 | Size () const |
Return size. | |
int | Width () const |
Return width. | |
int | Height () const |
Return height. | |
const int * | Data () const |
Return integer data. | |
String | ToString () const |
Return as string. |
Public Attributes | |
int | left_ |
Left coordinate. | |
int | top_ |
Top coordinate. | |
int | right_ |
Right coordinate. | |
int | bottom_ |
Bottom coordinate. |
Static Public Attributes | |
static const IntRect | ZERO |
Zero-sized rect. |
Two-dimensional bounding rectangle with integer values.