VNMediaClientNET

Public Member Functions | Public Attributes | List of all members
Rectangle2 Class Reference

## Public Member Functions
| 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)

## Public Attributes
int | x
int | y
int | width
int | height

## Member Function Documentation

## ◆ inside()

bool Rectangle2::inside | ( | int | X,
|  | int | Y
| ) |  |
| inline

Checks whether or not this `Rectangle` contains the point at the specified location

(X,Y)

.

Parameters

  X | the specified X coordinate
  Y | the specified Y coordinate

Returns
  `true` if the point
  (X,Y)
  is inside this `Rectangle`; `false` otherwise.

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

- src/VNMediaClientNET/Rectangle.h