ComponentOne Basic Library for UWP
IntersectsWith Method

C1.UWP Assembly > C1.Xaml Namespace > Extensions Class : IntersectsWith Method
One rectangle to test.
Another rectangle to test.
Determines if this rectangle intersects with rect.
Syntax
'Declaration
 
Public Shared Function IntersectsWith( _
   ByVal r As Windows.Foundation.Rect, _
   ByVal rect As Windows.Foundation.Rect _
) As System.Boolean
public static System.bool IntersectsWith( 
   Windows.Foundation.Rect r,
   Windows.Foundation.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.
See Also

Reference

Extensions Class
Extensions Members