ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / CreatePieRegion Method
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
    CreatePieRegion Method (Region)
    In This Topic
    Create a pie region.
    Syntax
    'Declaration
     
    
    Public Shared Function CreatePieRegion( _
       ByVal rectangle As Rectangle, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single _
    ) As Region
    public static Region CreatePieRegion( 
       Rectangle rectangle,
       float startAngle,
       float sweepAngle
    )

    Parameters

    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.

    Return Value

    A Region indicates the pie region.
    See Also