Urho3D
Public Member Functions | Public Attributes | Static Public Attributes
Urho3D::IntRect Class Reference

Two-dimensional bounding rectangle with integer values. More...

#include <Rect.h>

List of all members.

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.

Detailed Description

Two-dimensional bounding rectangle with integer values.


The documentation for this class was generated from the following files: