Rectangle.Intersects Method (Microsoft.Xna.Framework)
Gets whether or not the other Rectangle intersects with this rectangle.
- C#
- VB
- F#
public void Intersects( Rectangle value, out Boolean result )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value
-
Type: Microsoft.Xna.Framework.Rectangle
The other rectangle for testing.
- result
-
Type: out System.Boolean
true if other Rectangle intersects with this rectangle;false otherwise. As an output parameter.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web