Table of Contents

Method InsideRange

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

InsideRange(Point, Rectangle)

Indicates whether specified rectangle contains given position.

public static bool InsideRange(Point pt, Rectangle rect)

Parameters

pt Point

Position to check-up.

rect Rectangle

Rectangular area to check-up.

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 Point

Position to check-up.

rect Rectangle

Rectangular area to check-up.

checkMaxInt bool

Indicates that rectangle may contain Max Integer coordinates.

Returns

bool

True if specified rect contains given Point; otherwise false.