ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / WindowDeviceContext Class / DrawArc Method / DrawArc(Rectangle,Point,Point) Method
A System.Drawing.Rectangle specifies the bounding rectangle.
A System.Drawing.Point specifies the ending point of the radial line defining the starting point of the arc.
A System.Drawing.Point specifies the ending point of the radial line defining the ending point of the arc.

In This Topic
    DrawArc(Rectangle,Point,Point) Method
    In This Topic
    Draws an elliptical arc.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub DrawArc( _
       ByVal rectangle As Rectangle, _
       ByVal firstRadial As Point, _
       ByVal secondRadial As Point _
    ) 
    public virtual void DrawArc( 
       Rectangle rectangle,
       Point firstRadial,
       Point secondRadial
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle specifies the bounding rectangle.
    firstRadial
    A System.Drawing.Point specifies the ending point of the radial line defining the starting point of the arc.
    secondRadial
    A System.Drawing.Point specifies the ending point of the radial line defining the ending point of the arc.
    Remarks
    The rectangle specify the bounding rectangle. An ellipse formed by the specified bounding rectangle defines the curve of the arc. The arc extends in the current drawing direction from the point where it intersects the radial from the center of the bounding rectangle to the firstRadial point. The arc ends where it intersects the radial from the center of the bounding rectangle to the secondRadial point. If the starting point and ending point are the same, a complete ellipse is drawn.
    See Also