OutlinedEllipse
From Spheriki
Draws an outlined ellipse on the screen with the specified color.
Contents |
Usage
- x The x coordinate of the center of the ellipse.
- y The y coordinate of the center of the ellipse.
- rx The horizontal radius.
- ry The vertical radius.
- c The Sphere Color object to draw the ellipse with.
Examples
var blue = CreateColor(0, 0, 255); OutlinedEllipse(40, 20, 10, 5, blue);
Draws a blue outlined ellipse at (40, 20) that is 10 pixels wide and 5 pixels tall.
Notes
As with all graphical functions, remember to use FlipScreen() to display the results on the screen when you're finished drawing.