RectContains Method

Overload List
  Name Description
Public methodStatic member 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.
Public methodStatic member Contains(Rect, Rect)
Works out if one rect (a) completely contains another (b). Identical rectangles are counted as contained.
Public methodStatic member 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.
Top
See Also