CIRCLE

Top  Previous  Next

Syntax

CIRCLE(win as WINDOW, x as INT, y as INT, r as INT, OPT outline as UINT, OPT fill as UINT)

Description

Draws a circle in the window at coordinates x,y with radius r.  If a fill color is specified then the circle will be filled with that color.  If an outline color is specified then the circle is outlined by that color.   If neither color is specified then the circle is not filled and drawn with the current pen color specified by the FRONTPEN statement

Parameters

win - Window to draw circle into.

x - Coordinate

y - Coordinate

r - Radius

outline - Optional outline color.

fill - Optional fill color.

Return value

None

Remarks

See Also: FRONTPEN, ELLIPSE

Example usage

CIRCLE mywin, 100,100,10, RGB(255,0,0), RGB(0,255,0)