PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderPie Class / RenderPie Constructor / RenderPie Constructor(Unit,Unit,Unit,Unit,Single,Single,LineDef,Brush)
The X coordinate of the ellipse containing the pie shape.
The Y coordinate of the ellipse containing the pie shape.
The width of the ellipse containing the pie shape.
The height of the ellipse containing the pie shape.
The angle, in degrees, clockwise from the X axis to the start of the pie's arc.
The angle, measured in degrees, clockwise from startAngle to the end of the pie's arc.
The LineDef used to draw the pie shape.
The shape fill brush.

In This Topic
    RenderPie Constructor(Unit,Unit,Unit,Unit,Single,Single,LineDef,Brush)
    In This Topic
    Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill brush.
    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 shapeFillBrush As Brush _
    )
    public RenderPie( 
       Unit x,
       Unit y,
       Unit width,
       Unit height,
       float startAngle,
       float sweepAngle,
       LineDef shapeLine,
       Brush shapeFillBrush
    )

    Parameters

    x
    The X coordinate of the ellipse containing the pie shape.
    y
    The Y coordinate of the ellipse containing the pie shape.
    width
    The width of the ellipse containing the pie shape.
    height
    The height of the ellipse containing the pie shape.
    startAngle
    The angle, in degrees, clockwise from the X axis to the start of the pie's arc.
    sweepAngle
    The angle, measured in degrees, clockwise from startAngle to the end of the pie's arc.
    shapeLine
    The LineDef used to draw the pie shape.
    shapeFillBrush
    The shape fill brush.
    See Also