[]
        
(Showing Draft Content)

C1.Android.Core.C1Rect.Union

Union Method

Union(C1Rect)

Expands the rectangle represented by the current C1Rect exactly enough to contain the specified rectangle.

Declaration
public void Union(C1Rect rect)
Public Sub Union(rect As C1Rect)
Parameters
Type Name Description
C1Rect rect

The rectangle to include.

Exceptions
Type Condition
NotImplementedException

Union(C1Point)

Expands the rectangle represented by the current C1Rect exactly enough to contain the specified point.

Declaration
public void Union(C1Point point)
Public Sub Union(point As C1Point)
Parameters
Type Name Description
C1Point point

The point to include.

Exceptions
Type Condition
NotImplementedException

Union(C1Rect, C1Rect)

Returns a new rectangle exactly enough to contain the specified rectangles.

Declaration
public static C1Rect Union(C1Rect rect1, C1Rect rect2)
Public Shared Function Union(rect1 As C1Rect, rect2 As C1Rect) As C1Rect
Parameters
Type Name Description
C1Rect rect1

The first rectangle.

C1Rect rect2

The second rectangle.

Returns
Type Description
C1Rect