ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / CreateChordRegion Method
A System.Drawing.Rectangle indicates the bounds of the ellipse.
A float specifies the start angle, in degrees.
A float specifies the sweep angle, in degrees, relative to the starting angle.

In This Topic
    CreateChordRegion Method
    In This Topic
    Creates a chord region (a region bounded by the intersection of an ellipse and a line segment, called a secant).
    Syntax
    'Declaration
     
    
    Public Shared Function CreateChordRegion( _
       ByVal rectangle As Rectangle, _
       ByVal startAngle As Single, _
       ByVal sweepAngle As Single _
    ) As Region
    public static Region CreateChordRegion( 
       Rectangle rectangle,
       float startAngle,
       float sweepAngle
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle indicates the bounds of the ellipse.
    startAngle
    A float specifies the start angle, in degrees.
    sweepAngle
    A float specifies the sweep angle, in degrees, relative to the starting angle.

    Return Value

    A Region indicates the chord region.
    See Also