Contains Method
Contains(Double, Double)
Determines if the specified point is contained within the rectangular region defined
by this
Rect .
Declaration
public readonly bool Contains(double x, double y)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
Returns
Type |
Description |
System.Boolean |
|
Contains(Point)
Determines if the specified point is contained within the rectangular region defined
by this
Rect .
Declaration
public readonly bool Contains(Point pt)
Parameters
Type |
Name |
Description |
Point |
pt |
|
Returns
Type |
Description |
System.Boolean |
|
Contains(Rect)
Determines if the rectangular region represented by rect
is
entirely contained within
the rectangular region represented by this Rect .
Declaration
public readonly bool Contains(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Type |
Description |
System.Boolean |
|