RectContains Method (Rect, Point, Double)
|
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,
double epsilon
)
Public Shared Function Contains (
r As Rect,
p As Point,
epsilon As Double
) As Boolean
static member Contains :
r : Rect *
p : Point *
epsilon : float -> bool
Parameters
- r
- Type: WebSupergoo.WordGlue4Rect
A Rect.
- p
- Type: WebSupergoo.WordGlue4Point
A Point
- epsilon
- Type: SystemDouble
The amount by which coordinates can differ and still be equal.
Return Value
Type:
Boolean
True if A contains B.
See Also