ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / FillPie Method
A Brush object used to fill the pie.
A System.Drawing.Rectangle structure that defines the boundaries of the pie.
A float value that defines the start angle of the pie.
A float value that defines the sweep angle of the pie.

In This Topic
    FillPie Method
    In This Topic
    Fill the special pie on current Grapchis by using special brush
    Syntax
    'Declaration
     
    
    Public Sub FillPie( _
       ByVal brush As Brush, _
       ByVal rectangle As Rectangle, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single _
    ) 

    Parameters

    brush
    A Brush object used to fill the pie.
    rectangle
    A System.Drawing.Rectangle structure that defines the boundaries of the pie.
    startAngle
    A float value that defines the start angle of the pie.
    sweepAngle
    A float value that defines the sweep angle of the pie.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    Remarks
    The curve begins at the point where the ellipse intersects the first radial and extends counterclockwise to the point where the ellipse intersects the second radial.
    See Also