OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
UIRect2D Class Reference

Public Member Functions

 UIRect2D (float x, float y, float width, float height)
 
 UIRect2D (const UIPoint2D &pos, const UISize2D &size)
 
float getMinX () const
 
float getMinY () const
 
float getMaxX () const
 
float getMaxY () const
 
UIPoint2D getUpperLeft () const
 
UIPoint2D getUpperRight () const
 
UIPoint2D getLowerLeft () const
 
UIPoint2D getLowerRight () const
 
bool contains (const UIPoint2D &pos) const
 
bool contains (float x, float y) const
 
bool contains (int x, int y) const
 
bool contains (const UIRect2D &pos) const
 
bool intersects (const UIRect2D &pos) const
 

Public Attributes

UIPoint2D pos
 
UISize2D size
 

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