Web API Core | ComponentOne
C1.Web.Api.Document.Models Namespace / Rect Class / Rect Constructor
The x-coordinate of the upper-left corner of the rect.
The y-coordinate of the upper-left corner of the rect.
The width of the rect.
The height of the rect.

In This Topic
    Rect Constructor
    In This Topic
    Initializes a new instance of Rect object.
    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 upper-left corner of the rect.
    y
    The y-coordinate of the upper-left corner of the rect.
    width
    The width of the rect.
    height
    The height of the rect.
    See Also