次の方法で共有


Rectangle.Contains Method (Rectangle)

Determines whether this Rectangle entirely contains a specified Rectangle.

Syntax

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

Parameters

Return Value

Type: Boolean
true if this Rectangle entirely contains the specified 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