Rectangle.Intersects Method (Rectangle)
Determines whether a specified Rectangle intersects with this Rectangle.
Syntax
'Declaration
Public Function Intersects ( _
value As Rectangle _
) As Boolean
public bool Intersects (
Rectangle value
)
public:
bool Intersects(
Rectangle value
)
Parameters
Return Value
Type: Boolean
true if the specified Rectangle intersects with this one; 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