Method Contains
Contains(int, int)
Contains Method
public bool Contains(int x, int y)
Parameters
Returns
Remarks
Checks if an x,y coordinate lies within this Rectangle.
Contains(Point)
Contains Method
public bool Contains(Point pt)
Parameters
pt
Point
Returns
Remarks
Checks if a Point lies within this Rectangle.
Contains(Rect)
Contains Method
public bool Contains(Rect rect)
Parameters
rect
Rect
Returns
Remarks
Checks if a Rectangle lies entirely within this Rectangle.