PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / RenderArc Class / RenderArc Constructor / RenderArc Constructor(Unit,Unit,Single,Single)
The width of the ellipse containing the arc.
The height of the ellipse containing the arc.
The angle, in degrees, clockwise from the X axis to the start of the arc.
The angle, measured in degrees, clockwise from startAngle to the end of the arc.

In This Topic
    RenderArc Constructor(Unit,Unit,Single,Single)
    In This Topic
    Initializes a new instance of the RenderArc class, assigning the width, height, and start and sweep angles of the arc. The location of the arc's ellipse is set to the location of the current RenderPie.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single _
    )
    public RenderArc( 
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle
    )

    Parameters

    width
    The width of the ellipse containing the arc.
    height
    The height of the ellipse containing the arc.
    startAngle
    The angle, in degrees, clockwise from the X axis to the start of the arc.
    sweepAngle
    The angle, measured in degrees, clockwise from startAngle to the end of the arc.
    See Also