Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderArc Class / RenderArc Constructor / RenderArc Constructor(Unit,Unit,Unit,Unit,Single,Single,LineDef,Color)
The X coordinate of the ellipse containing the arc.
The Y coordinate of the ellipse containing the arc.
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.
The LineDef used to draw the arc.
The fill color.

In This Topic
    RenderArc Constructor(Unit,Unit,Unit,Unit,Single,Single,LineDef,Color)
    In This Topic
    Initializes a new instance of the RenderArc class, assigning the location, size, and start and sweep angles of the arc, the LineDef used to draw the arc, and the color used to fill the segment formed by the arc and a line connecting its ends.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Unit, _
       ByVal y As Unit, _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single, _
       ByVal shapeLine As LineDef, _
       ByVal shapeFillColor As Color _
    )
    public RenderArc( 
       Unit x,
       Unit y,
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle,
       LineDef shapeLine,
       Color shapeFillColor
    )

    Parameters

    x
    The X coordinate of the ellipse containing the arc.
    y
    The Y coordinate of the ellipse containing the arc.
    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.
    shapeLine
    The LineDef used to draw the arc.
    shapeFillColor
    The fill color.
    See Also