[]
        
(Showing Draft Content)

GrapeCity.Drawing.Rect.Union

Union Method

Union(Rect, Rect)

Gets a Rectangle structure that contains the union of two Rectangle structures.

Declaration
public static Rect Union(Rect r1, Rect r2)
Public Shared Function Union(r1 As Rect, r2 As Rect) As Rect
Parameters
Type Name Description
Rect r1

A rectangle to union.

Rect r2

A rectangle to union.

Returns
Type Description
Rect

A Rectangle structure that bounds the union of the two Rectangle structures.