GraphicsPath.AddArc

AddArc(RectangleF, float, float)

Appends an elliptical arc to the current figure.

public void AddArc(RectangleF rect, float startAngle, float sweepAngle)
ParameterTypeDescription
rectRectangleFA RectangleF that represents the rectangular bounds of the ellipse from which the arc is taken.
startAngleSingleThe starting angle of the arc, measured in degrees clockwise from the x-axis.
sweepAngleSingleThe angle between startAngle and the end of the arc.

See Also


AddArc(float, float, float, float, float, float)

Appends an elliptical arc to the current figure.

public void AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)
ParameterTypeDescription
xSingleThe x-coordinate of the upper-left corner of the rectangular region that defines the ellipse from which the arc is drawn.
ySingleThe y-coordinate of the upper-left corner of the rectangular region that defines the ellipse from which the arc is drawn.
widthSingleThe width of the rectangular region that defines the ellipse from which the arc is drawn.
heightSingleThe height of the rectangular region that defines the ellipse from which the arc is drawn.
startAngleSingleThe starting angle of the arc, measured in degrees clockwise from the x-axis.
sweepAngleSingleThe angle between startAngle and the end of the arc.

See Also