Share via


RectangleD.IntersectsWith(RectangleD) Method

Definition

Determines if this rectangle intersects with rectangle.

public:
 bool IntersectsWith(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangle);
public bool IntersectsWith (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangle);
member this.IntersectsWith : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> bool
Public Function IntersectsWith (rectangle As RectangleD) As Boolean

Parameters

rectangle
RectangleD

The rectangle to test

Returns

This method returns true if there is any intersection.

Applies to