Determines if the point is within the rectangle.
Syntax

[C#]

bool Contains(double x, double y);
bool Contains(PointF pt);
bool Contains(RectangleF rect);

[Visual Basic]

Function Contains(x As Double, y As Double) As Boolean
Function Contains(pt As PointF) As Boolean
Function Contains(rect As RectangleF) As Boolean
Params
Name Description
x The x coordinate.
y The y coordinate.
pt The point to test.
rect The rectangle to test.
return True if point is contained.
Notes

None.

Example

None.