Determines if this rectangle intersects with rect.
'Declaration
Public Shared Function IntersectsWith( _
ByVal As Rect, _
ByVal As Rect _
) As Boolean
public static bool IntersectsWith(
Rect ,
Rect
)
Parameters
- r
- One rectangle to test.
- rect
- Another rectangle to test.
Return Value
This method returns true if there is any intersection, otherwise false.