- gcx:circle(x, y, r[, rgb])
- gcx:fillcircle(x, y, r[, rgb])
SYNOPSIS
DESCRIPTION
Draws a circle with the center at x, y of radius r using the specified color rgb. If color is not given, uses the stored foreground color.
The function gcx:circle draws an outline of one pixel, while gcx:fillcircle fills the whole area.
ERRORS
Raises an error if gcx is not a graphics context.
EXAMPLE
Fills a red circle:
>
gcx:fill(gcx:width()/2, gcx:height()/2, gcx:width()/4, 0xFF0000)