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