drawArc
Draws an arc (part of an ellipse).
Syntax
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
| x | int/str |
Top-left X of the bounding box. | Required |
| y | int/str |
Top-left Y of the bounding box. | Required |
| w | int |
Width of the bounding box. | Required |
| h | int |
Height of the bounding box. | Required |
| start_angle | int |
Starting angle in degrees. | Required |
| end_angle | int |
Ending angle in degrees. | Required |
| color | string |
Arc color. | black |
| width | int |
Arc thickness. | 1 |