Rectangle.Contains Method

Determines whether this Rectangle contains a specified point or Rectangle.

Overload List

Name Description
Rectangle.Contains (Int32, Int32) Determines whether this Rectangle contains a specified point represented by its x- and y-coordinates.
Rectangle.Contains (Point) Determines whether this Rectangle contains a specified Point.
Rectangle.Contains (Point, Boolean) Determines whether this Rectangle contains a specified Point.
Rectangle.Contains (Rectangle) Determines whether this Rectangle entirely contains a specified Rectangle.
Rectangle.Contains (Rectangle, Boolean) Determines whether this Rectangle entirely contains a specified Rectangle.

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace