ARCF
X, Y, START ANGLE, END ANGLE, RADIUS, STYLE
Requires arcade library
The ability to draw an filled arc on a bitmap and display it on screen as an image.
Example
INCLUDE arcade
RGB 0,0,0
BITMAP 0,0,640,480
RGB 255,0,0
ARCF 180,190,20,310,140
ARC 390,180,180,360,100
LINE 340,181,340,230
LINE 440,181,440,230
ARC 350,230,360,180,20
ARC 370,230,180,360,20
ARC 390,230,360,180,20
ARC 410,230,180,360,20
ARC 430,230,360,180,20
RGB 255,255,255
CIRCLEF 385,170,20
CIRCLEF 415,170,20
RGB 0,0,0
CIRCLEF 385,170,10
CIRCLEF 415,170,10
BITMAP CLOSE
Output
Parameters
Parameter | Type | Description |
---|---|---|
X | integer | X position |
Y | integer | Y position |
START ANGLE | integer | Start angle of the arc, can have negative values |
END ANGLE | integer | End angle of the arc, can have negative values |
RADIUS | integer | Radius of the arc |
Optional | ||
STYLE | integer | PIE = 0 (default) CHORD = 1 NOFILL = 2 EDGED = 4 |