Rectangle.Intersects Method (Rectangle)

Determines whether a specified Rectangle intersects with this Rectangle.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool Intersects (
         Rectangle value
)

Parameters

Return Value

true if the specified Rectangle intersects with this one; false otherwise.

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista