Contains Method
Contains(int, int)
Determines if the specified point is contained within this rectangle.
Declaration
public bool Contains(int x, int y)
Public Function Contains(x As Integer, y As Integer) As Boolean
Parameters
| Type |
Name |
Description |
| int |
x |
|
| int |
y |
|
Returns
Contains(RectL)
Determines if the specified rectangle is fully contained within this rectangle.
Declaration
public bool Contains(RectL rect)
Public Function Contains(rect As RectL) As Boolean
Parameters
| Type |
Name |
Description |
| RectL |
rect |
|
Returns