Search
IGraphics.DrawArc Method (Pen, Double, Double, Double, Double, Double, Double)
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,
    double x,
    double y,
    double width,
    double height,
    double startAngle,
    double sweepAngle
)

Visual Basic  Copy Code

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

 Parameters

pen
A 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