FilledCircle

From Spheriki

Jump to: navigation, search

Draws a circle filled the specified color onto the video buffer.


Contents

Usage

FilledCircle(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

FilledCircle(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