Rectangle.Contains Method (Rectangle)

Determines whether this Rectangle entirely contains a specified Rectangle.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool Contains (
         Rectangle value
)

Parameters

Return Value

true if this Rectangle entirely contains the specified Rectangle; false otherwise.

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista