RectangleD.IntersectsWith(RectangleD) 方法

定义

确定此矩形是否与矩形相交。

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

参数

rectangle
RectangleD

要测试的矩形

返回

Boolean

如果存在任何交集,则此方法返回 true。

适用于