[]
        
(Showing Draft Content)

C1.WPF.Extensions.IntersectsWith

IntersectsWith Method

IntersectsWith(Rect, Rect)

Determines if this rectangle intersects with rect.

Declaration
public static bool IntersectsWith(this Rect r, Rect rect)
Public Shared Function IntersectsWith(r As Rect, rect As Rect) As Boolean
Parameters
Type Name Description
Rect r

One rectangle to test.

Rect rect

Another rectangle to test.

Returns
Type Description
bool

This method returns true if there is any intersection, otherwise false.