Редагувати

Поділитися через


RectangleF.IntersectsWith(RectangleF) Method

Definition

Determines if this rectangle intersects with 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

Parameters

rect
RectangleF

The rectangle to test.

Returns

true if there is any intersection; otherwise, false.

Applies to