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
pt
PointPosition to check-up.
rect
RectangleRectangular area to check-up.
checkMaxInt
boolIndicates that rectangle may contain Max Integer coordinates.
Returns
- bool
True if specified rect contains given Point; otherwise false.