[]
Tests whether the specified point is contained within the current Rect.
public bool Contains(Point pt)
Type | Name | Description |
---|---|---|
Point | pt | The Point to test. |
Type | Description |
---|---|
bool | true if |
Tests whether the specified rectangle is entirely contained within the current Rect.
public bool Contains(Rect rc)
Type | Name | Description |
---|---|---|
Rect | rc | The Rect to test. |
Type | Description |
---|---|
bool | true if |
Tests whether a point specified by its coordinates is contained within the current Rect.
public bool Contains(double x, double y)
Type | Name | Description |
---|---|---|
double | x | The X coordinate of the point to test. |
double | y | The Y coordinate of the point to test. |
Type | Description |
---|---|
bool | true if the specified point is contained within the current Rect structure, false otherwise. |