Method InsideRange
InsideRange(Point, Rectangle)
Indicates whether specified rectangle contains given position.
public static bool InsideRange(Point pt, Rectangle rect)
Parameters
Returns
- bool
True if specified rect contains given Point; otherwise false.
InsideRange(Point, Rectangle, bool)
Indicates whether specified rectangle contains given position.
public static bool InsideRange(Point pt, Rectangle rect, bool checkMaxInt)
Parameters
ptPointPosition to check-up.
rectRectangleRectangular area to check-up.
checkMaxIntboolIndicates that rectangle may contain Max Integer coordinates.
Returns
- bool
True if specified rect contains given Point; otherwise false.