Contains Method (Rectangle)
In This Topic
Determines if the specified point is contained within this
Rect structure.
Syntax
Parameters
- x
- The x-coordinate of the point to test.
- y
- The y-coordinate of the point to test.
Return Value
This method returns
true if the point defined by and is contained within this
Rect structure; otherwise
false.
See Also