ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / 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 System.Drawing.Rectangle, _
       ByVal startAngle As System.Single, _
       ByVal sweepAngle As System.Single _
    ) As Region
    public static Region CreateChordRegion( 
       System.Drawing.Rectangle rectangle,
       System.float startAngle,
       System.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