< Futurebasic < Language < Reference

FILL

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

FILL h,v

Description

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

COLOR; CIRCLE

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.