ELLIPSE
X, Y, WIDTH, HEIGHT
Requires arcade library
The ability to draw an ellipse 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
ELLIPSE 320,280,200,160
RGB 255,0,0,90
ELLIPSE 360,240,160,120
RGB 255,0,0,95
ELLIPSE 400,200,120,80
RGB 255,0,0,98
ELLIPSE 440,160,80,40
BITMAP CLOSE
Output
Parameters
Parameter | Type | Description |
---|---|---|
X | integer | The center X position |
Y | integer | The center Y position |
WIDTH | integer | The width of the ellipse |
HEIGHT | integer | The height of the ellipse |