Rectangle.Intersects Method (Rectangle, Boolean)
Determines whether a specified Rectangle intersects with this Rectangle.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Intersects (
ref Rectangle value,
out bool result
)
Parameters
- value
The Rectangle to evaluate - result
[OutAttribute] 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