Method AddArc
AddArc(PointD, double, double, double)
Appends a circular arc to the current figure.
void AddArc(PointD center, double radius, double startAngle, double sweepAngle)
Parameters
centerPointDThe center PointD of the arc.
radiusdoubleThe radius of the arc.
startAngledoubleThe starting angle of the arc, measured in degrees clockwise from the x-axis.
sweepAngledoubleThe angle between
startAngleand the end of the arc.
Remarks
If there are previous lines or curves in the figure, a line is added to connect the endpoint of the previous segment to the beginning of the arc. The starting point of the arc is determined by measuring clockwise from the x-axis of the ellipse (at the 0-degree angle) by the number of degrees in the start angle. The endpoint is similarly located by measuring clockwise from the starting point by the number of degrees in the sweep angle.