Futurebasic/Language/Reference/fill

FILLEdit

StatementEdit

✔ Appearance ✔ Standard ✔ Console

SyntaxEdit

FILL h,v

DescriptionEdit

This statement fills the area around pixel coordinates (h, v) (in the current output window) with the current color and pen pattern. All the contiguous pixels which have a color equal to the original color at (h, v) are included in the fill.

Example:
This little program paints a red ring:

COLOR = _zBlack
CIRCLE 110,110,100
CIRCLE 110,110,80
COLOR = _zRed
FILL 100, 15

FB Lite behavior:
When you use the "FB Lite" runtime, FILL switches to the Graphics Window before executing.

See AlsoEdit

COLOR; CIRCLE