[]
        
(Showing Draft Content)

C1.Interop.Rect.Intersect

Intersect Method

Intersect(Rect)

Replaces the current Rect structure with the intersection of itself and another Rect.

Declaration
public void Intersect(Rect rect)
Parameters
Type Name Description
Rect rect

The Rect to intersect the current one with.

Intersect(Rect, Rect)

Creates a new Rect structure representing the intersection of two RectangleD structures. (The intersection may be empty, in which case Empty is returned.)

Declaration
public static Rect Intersect(Rect a, Rect b)
Parameters
Type Name Description
Rect a

The first Rect to intersect.

Rect b

The second Rect to intersect.

Returns
Type Description
Rect

The newly created Rect structure.