CIRCLEF
X, Y, RADIUS, ID (optional)
The ability to draw a filled circle on a bitmap and display it on screen as an image.
Example
SCREEN
RGB 0, 0, 0
BITMAP 0, 0, 640, 480
RGB 255, 0, 0, 250
REM Noticing I'm using a variable here as they are supported by the args.
DEF x% = 320
CIRCLEF x%, 220, 220
RGB 255, 0, 0, 200
CIRCLEF 320, 220, 200
RGB 255, 0, 0, 150
CIRCLEF 320, 220, 180
RGB 255, 0, 0, 150
CIRCLEF 320, 220, 160
RGB 255, 0, 0, 50
CIRCLEF 320, 220, 140
RGB 255, 0, 0, 0
CIRCLEF 320, 220, 120
END BITMAP
END SCREEN
Output
Parameters
| Parameter | Optional | Type | Description |
|---|---|---|---|
| X | No | integer or variable | X position |
| Y | No | integer or variable | Y position |
| RADIUS | No | integer or variable | Radius of the circle |
| ID | Yes | string or variable | ID to help identify or style the CIRCLEF |