InputPanel for WinForms | ComponentOne
C1.Win.4.8 Assembly / C1.Win.Interop Namespace / Rect Structure / Rect Constructor / Rect Constructor(Double,Double,Double,Double)
The X coordinate of the left side of the rectangle.
The Y coordinate of the top side of the rectangle.
The width of the rectangle.
The height of the rectangle.

In This Topic
    Rect Constructor(Double,Double,Double,Double)
    In This Topic
    Initializes a new instance of the Rect structure.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    )
    public Rect( 
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    x
    The X coordinate of the left side of the rectangle.
    y
    The Y coordinate of the top side of the rectangle.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also