[]
        
(Showing Draft Content)

C1.C1Preview.RectangleD.Intersect

Intersect Method

Intersect(RectangleD)

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

Declaration
public void Intersect(RectangleD rect)
Public Sub Intersect(rect As RectangleD)
Parameters
Type Name Description
RectangleD rect

The RectangleD to intersect the current one with.

Intersect(RectangleD, RectangleD)

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

Declaration
public static RectangleD Intersect(RectangleD a, RectangleD b)
Public Shared Function Intersect(a As RectangleD, b As RectangleD) As RectangleD
Parameters
Type Name Description
RectangleD a

The first RectangleD to intersect.

RectangleD b

The second RectangleD to intersect.

Returns
Type Description
RectangleD

The newly created RectangleD structure.