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

適用於