Jump to content

Futurebasic/Language/Reference/fill

From Wikibooks, open books for an open world

Statement

[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax

[edit | edit source]

FILL h,v

Description

[edit | edit source]

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 | edit source]

COLOR; CIRCLE