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