Partilhar via


Rectangle.Contains Method (Point)

Determines whether this Rectangle contains a specified Point.

Syntax

'Declaration
Public Function Contains ( _
         value As Point _
) As Boolean 
public bool Contains (
         Point value
)
public:
bool Contains(
         Point value
)

Parameters

Return Value

Type: Boolean
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