'Declaration
<ExtensionAttribute()> Public Shared Function IntersectsWith( _ ByVal r As Rect, _ ByVal rect As Rect _ ) As Boolean
'Usage
Dim r As Rect Dim rect As Rect Dim value As Boolean value = Extensions.IntersectsWith(r, 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.