Charting for WinForms Programmer's Guide
IGraphics.DrawArc Method (Pen, Single, Single, Single, Single, Single, Single)
See Also
 






Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawArc (
    Pen pen,
    float x,
    float y,
    float width,
    float height,
    float startAngle,
    float sweepAngle
)

Visual Basic  Copy Code

Sub DrawArc( _
    pen As Pen, _
    x As Single, _
    y As Single, _
    width As Single, _
    height As Single, _
    startAngle As Single, _
    sweepAngle As Single _
)

 Parameters

pen
A .NET Pen object that determines the color, width, and style of the arc.
x
The x-coordinate of the upper-left corner of the rectangle that defines the ellipse.
y
The y-coordinate of the upper-left corner of the rectangle that defines the ellipse.
width
The width of the rectangle that defines the ellipse.
height
The height of the rectangle that defines the ellipse.
startAngle
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle
Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.

 See Also

DrawArc Method Overload List
IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace