- set graphic background color

Low-level graphics
(AFL 3.0)

SYNTAX GfxSetBkColor( color )
FUNCTION Sets the current background color to the specified color. If the background mode is OPAQUE (see GfxSetBkMode), the system uses the background color to fill the gaps in styled lines, the gaps between hatched lines in brushes, and the background in character cells.


  • color - specifies the new background color

    NOTE: This is LOW-LEVEL graphic function. To learn more about low-level graphic functions please read TUTORIAL: Using low-level graphics.

EXAMPLE GfxSetBkColor( ColorRGB( 10, 20, 30 ) );
SEE ALSO GfxSelectFont() function , GfxSetTextColor() function


The GfxSetBkColor function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference