|
|
| Rectangle2 (int x, int y, int width, int height) |
| |
|
| Rectangle2 (int width, int height) |
| |
|
bool | contains (const Point2 &p) |
| |
|
bool | contains (int x, int y) |
| |
| bool | inside (int X, int Y) |
| |
|
void | setBounds (Rectangle2 r) |
| |
|
void | setBounds (int x, int y, int width, int height) |
| |
|
void | reshape (int x, int y, int width, int height) |
| |
|
|
int | x |
| |
|
int | y |
| |
|
int | width |
| |
|
int | height |
| |
◆ inside()
| bool Rectangle2::inside |
( |
int |
X, |
|
|
int |
Y |
|
) |
| |
|
inline |
Checks whether or not this Rectangle contains the point at the specified location
.
- Parameters
-
| X | the specified X coordinate |
| Y | the specified Y coordinate |
- Returns
true if the point is inside this Rectangle; false otherwise.
The documentation for this class was generated from the following file: