RectContains Method |
| Name | Description | |
|---|---|---|
| Contains(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.
|
|
| Contains(Rect, Rect) |
Works out if one rect (a) completely contains
another (b). Identical rectangles are counted as contained.
|
|
| Contains(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.
|