Charting for WinForms Programmer's Guide
GdiGraphics.DrawArc Method (Pen, Int32, Int32, Int32, Int32, Int32, Int32)
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

public virtual void DrawArc (
    Pen pen,
    int x,
    int y,
    int width,
    int height,
    int startAngle,
    int sweepAngle
)

Visual Basic  Copy Code

Public Overridable Sub DrawArc( _
    pen As Pen, _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer, _
    startAngle As Integer, _
    sweepAngle As Integer _
)

 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
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace