Rectangle representation. More...
Public Member Functions | |
| Rect (float x, float y, float width, float height) | |
| Creates a new rectangle More... | |
| bool | Contains (Point v) |
| Checks if point is inside this Rect. More... | |
| bool | Contains (float _x, float _y) |
| Checks if coordinates are inside this Rect. More... | |
| Rect | Pad (Rect s) |
| Returns new rectangle, modified by the delta of 's'. More... | |
| override string | ToString () |
| Returns a string that represents the current Rect. More... | |
Static Public Member Functions | |
| static Rect | operator& (Rect r, Rect s) |
| Returns new rectangle, which includes 'r' and 's'. More... | |
Properties | |
| float | Width [get, set] |
| The width of the rectangle. More... | |
| float | Height [get, set] |
| The height of the rectangle. More... | |
| float | Size [get] |
| The square size of the rectangle. More... | |
Rectangle representation.
|
inline |
Creates a new rectangle
| x | X. |
| y | Y. |
| width | W. |
| height | H. |
|
inline |
Checks if point is inside this Rect.
| v | The point to be checked. |
|
inline |
Checks if coordinates are inside this Rect.
| _x | The x coordinate. |
| _y | The y coordinate. |
Returns new rectangle, modified by the delta of 's'.
| s | The rect to be used for delta movement. |
|
inline |
| float CryEngine.Rect.h |
| float CryEngine.Rect.w |
| float CryEngine.Rect.x |
| float CryEngine.Rect.y |
|
get set |
The height of the rectangle.
The height.
|
get |
The square size of the rectangle.
The size.
|
get set |
The width of the rectangle.
The width.