BB___CIRCLEFILLED

=CIRCLEFILLED= toc

Description
> For use with graphics windows and graphicboxes, CIRCLEFILLED draws a color-filled circle shape with a radius r at the current pen position.

> The fill color of filled shapes is set with the backcolor command.

> There are four graphics commands that draw filled shapes: >> boxfilled >> circlefilled >> ellipsefilled >> piefilled

Syntax
> //This command is NOT case sensitive.//

Using literal values

 * 1)  - a graphics window
 * 2)  - a graphicbox

Using variable values
> is the radius of the circle.

Hints

 * //**Color & Size.**// Shapes are drawn with a pen color set by the command and a line thickness set by the  command. The fill color is set with the  command.

Example
An example of the command in a graphics window. code format="lb" nomainwin

WindowWidth=400 WindowHeight=300

open "Draw Circlefilled Demo" for graphics_nsb_nf as #g #g "trapclose [quit]" 'put the pen down and set fill color #g "down; backcolor 127 127 127" 'place pen at center of circle #g "place 150 140" 'draw a circle with radius of 50 #g "circlefilled 50"

wait

[quit] close #g end code

An example of the command in a graphicbox. code format="lb" nomainwin

WindowWidth=400 WindowHeight=300

graphicbox #g.gb 2, 2, 390, 270 open "Draw Circlefilled Demo" for graphics_nsb_nf as #g #g "trapclose [quit]" 'put the pen down and set fill color #g.gb "down; backcolor blue" 'place pen at center of circle #g.gb "place 150 140" 'draw a circle with radius of 50 #g.gb "circlefilled 50"

wait

[quit] close #g end code

Useful Functions
code format="lb" Place a useful function using this keyword here code