Rectangle.Contains Method (Rectangle, Boolean)
Determines whether this Rectangle entirely contains a specified Rectangle.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Contains (
ref Rectangle value,
out bool result
)
Parameters
- value
The Rectangle to evaluate. - result
[OutAttribute] On exit, is true if this Rectangle entirely contains the specified Rectangle, or false if not.
See Also
Reference
Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista