ChartDirector 7.1 (.NET Edition)

DrawArea.arc


Usage

[C#]public void arc(int cx, int cy, int rx, int ry, double a1, double a2, int c);
[VB]Public Sub arc(cx As Integer, cy As Integer, rx As Integer, ry As Integer, a1 As Double, a2 As Double, c As Integer)

Description

Draws a circular or elliptical arc.

Arguments

ArgumentDefaultDescription
cx(Mandatory)The x coordinate of the center of the circle or ellipse.
cy(Mandatory)The y coordinate of the center of the circle or ellipse.
rx(Mandatory)The horizontal radius of the circle or ellipse.
ry(Mandatory)The vertical radius of the circle or ellipse.
a1(Mandatory)The start angle of the arc in degrees. The angle is measured clockwise, with 0 degree being the upward pointing direction.
a2(Mandatory)The end angle of the arc in degrees. The angle is measured clockwise, with 0 degree being the upward pointing direction.
c(Mandatory)The color of the arc.

Return Value

None