ARC
X, Y, START ANGLE, END ANGLE, RADIUS
Requires arcade library
The ability to draw an arc on a bitmap and display it on screen as an image.
Example
INCLUDE arcade
SCREEN
RGB 0,0,0
BITMAP 0,0,640,480
RGB 255,0,0
ARC 320,160,25,155,150
ARC 320,310,-155,-25,150
ARC 265,235,-75,75,40
ARC 375,235,105,-105,40
END BITMAP
END SCREEN
Output
Parameters
| Parameter | Type | Description |
|---|---|---|
| X | integer | X position |
| Y | integer | Y position |
| RADIUS | integer | Radius of the arc |
| START ANGLE | integer | Start angle of the arc, can have negative values |
| END ANGLE | integer | End angle of the arc, can have negative values |