OutlinedCircle

From Spheriki

Jump to: navigation, search

Draws the outline of a circle onto the video buffer with the specified color.


Contents

Usage

OutlinedCircle(x, y, radius, color [, antialias]);
  • x The x coordinate of the center of the circle.
  • y The y coordinate of the center of the circle.
  • radius The radius of the circle in pixels.
  • color The Sphere Color object to draw the circle with.
  • antialias If set to true then the edge of the circle will be antialiased.


Examples

OutlinedCircle(50, 50, 20, CreateColor(255, 255, 0));

Draws a yellow circle at (50, 50) with a 20 pixel radius.


Notes

Don't forget to call FlipScreen() after drawing anything onto the video buffer.


See also

Personal tools