[]
Appends an elliptical arc to the current figure.
public void AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)
Type | Name | Description |
---|---|---|
float | x | The x-coordinate of the upper-left corner of the rectangular region that defines the ellipse from which the arc is drawn. |
float | y | The y-coordinate of the upper-left corner of the rectangular region that defines the ellipse from which the arc is drawn. |
float | width | The width of the rectangular region that defines the ellipse from which the arc is drawn. |
float | height | The height of the rectangular region that defines the ellipse from which the arc is drawn. |
float | startAngle | The starting angle of the arc, measured in degrees clockwise from the x-axis. |
float | sweepAngle | The angle between startAngle and the end of the arc. |