RectContains Method (Rect, Point)
|
Works out if a rect contains a point. A point
at the top or left of the rectangle is counted as contained but one
at the bottom or right is not. Thus an empty rectangle never
contains any points.
Namespace: WebSupergoo.WordGlue4
Assembly: WordGlue4 (in WordGlue4.dll)
Version: 4.1.0.0 (4.1.0.0)
Syntax
public static bool Contains(
Rect r,
Point p
)
Public Shared Function Contains (
r As Rect,
p As Point
) As Boolean
static member Contains :
r : Rect *
p : Point -> bool
Parameters
- r
- Type: WebSupergoo.WordGlue4Rect
A Rect.
- p
- Type: WebSupergoo.WordGlue4Point
A Point
Return Value
Type:
Boolean
True if A contains B.
See Also