RectangleF.IntersectsWith(RectangleF) 方法

定义

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

public:
 bool IntersectsWith(System::Drawing::RectangleF rect);
public readonly bool IntersectsWith (System.Drawing.RectangleF rect);
public bool IntersectsWith (System.Drawing.RectangleF rect);
member this.IntersectsWith : System.Drawing.RectangleF -> bool
Public Function IntersectsWith (rect As RectangleF) As Boolean

参数

rect
RectangleF

要测试的矩形。

返回

如果存在任何交集,则返回 true;否则,返回 false

适用于