Determine if this rectangle contains a specified point or rectangle.
[C#] bool Contains(XPoint point) bool Contains(PointF point) bool Contains(Point point) bool Contains(float x, float y) bool Contains(double x, double y) bool Contains(XRect rect)
bool Contains(XPoint point) bool Contains(PointF point) bool Contains(Point point) bool Contains(float x, float y) bool Contains(double x, double y) bool Contains(XRect rect)
In the case of rectangles, all four corners must be contained for the function to return true.
If a null point or rectangle is passed this function will return false.
None.