PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderLine Class / RenderLine Constructor / RenderLine Constructor(Unit,Unit,Unit,Unit,LineDef)
The X coordinate of the first of the two points that the line connects.
The Y coordinate of the first of the two points that the line connects.
The X coordinate of the second of the two points that the line connects.
The Y coordinate of the second of the two points that the line connects.

In This Topic
    RenderLine Constructor(Unit,Unit,Unit,Unit,LineDef)
    In This Topic
    Initializes a new instance of the RenderLine class, assigning the coordinates of the two points that the line connects.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x1 As Unit, _
       ByVal y1 As Unit, _
       ByVal x2 As Unit, _
       ByVal y2 As Unit, _
       ByVal shapeLine As LineDef _
    )
    public RenderLine( 
       Unit x1,
       Unit y1,
       Unit x2,
       Unit y2,
       LineDef shapeLine
    )

    Parameters

    x1
    The X coordinate of the first of the two points that the line connects.
    y1
    The Y coordinate of the first of the two points that the line connects.
    x2
    The X coordinate of the second of the two points that the line connects.
    y2
    The Y coordinate of the second of the two points that the line connects.
    shapeLine
    See Also