Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1Rect Structure / Union Method / Union(C1Rect,C1Rect) Method
The first rectangle.
The second rectangle.


In This Topic
    Union(C1Rect,C1Rect) Method
    In This Topic
    Returns a new rectangle exactly enough to contain the specified rectangles.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Union( _
       ByVal rect1 As C1Rect, _
       ByVal rect2 As C1Rect _
    ) As C1Rect
    'Usage
     
    
    Dim rect1 As C1Rect
    Dim rect2 As C1Rect
    Dim value As C1Rect
     
    value = C1Rect.Union(rect1, rect2)
    public static C1Rect Union( 
       C1Rect rect1,
       C1Rect rect2
    )

    Parameters

    rect1
    The first rectangle.
    rect2
    The second rectangle.
    See Also