Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1Rect Structure / C1Rect Constructor / C1Rect Constructor(Double,Double,Double,Double)
The x-coordinate of the top-left corner of the rectangle.
The y-coordinate of the top-left corner of the rectangle.
The width of the rectangle.
The height of the rectangle.

In This Topic
    C1Rect Constructor(Double,Double,Double,Double)
    In This Topic
    Initializes a C1Rect structure that has the specified x-coordinate, y-coordinate, width, and height.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    )
    public C1Rect( 
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    x
    The x-coordinate of the top-left corner of the rectangle.
    y
    The y-coordinate of the top-left corner of the rectangle.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also