Rectangle.Contains Method (Point)
Determines whether this Rectangle contains a specified Point.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool Contains (
Point value
)
Parameters
- value
The Point to evaluate.
Return Value
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