Futurebasic/Language/Reference/fill

FILL

edit

Statement

edit

✔ Appearance ✔ Standard ✔ Console

Syntax

edit

FILL h,v

Description

edit

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 Also

edit

COLOR; CIRCLE