Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1Rect Structure / C1Rect Constructor / C1Rect Constructor(C1Point,C1Point)
The first point that the new rectangle must contain.
The second point that the new rectangle must contain.


In This Topic
    C1Rect Constructor(C1Point,C1Point)
    In This Topic
    Initializes a C1Rect structure that is exactly large enough to contain the two specified points.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal point1 As C1Point, _
       ByVal point2 As C1Point _
    )
    'Usage
     
    
    Dim point1 As C1Point
    Dim point2 As C1Point
     
    Dim instance As New C1Rect(point1, point2)
    public C1Rect( 
       C1Point point1,
       C1Point point2
    )

    Parameters

    point1
    The first point that the new rectangle must contain.
    point2
    The second point that the new rectangle must contain.
    See Also