GfxSetTextColor
- set graphic text color

Low-level graphics
(AmiBroker 50)


SYNTAX GfxSetTextColor( color )
RETURNS NOTHING
FUNCTION Sets the text color to the specified color. AmiBroker will use this text color when writing text to this window using GfxTextOut or GfxDrawText.

The background color for a character is specified by the GfxSetBkColor and GfxSetBkMode member functions.

Parameters:

  • color - Specifies the color of the text

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

EXAMPLE GfxSetTextColor( colorRed );
GfxSetTextColor( ColorRGB( 100, 200, 100 ) );
SEE ALSO GfxTextOut() function , GfxDrawText() function , GfxSelectFont() function , GfxSetBkColor() function , GfxSetBkMode() function

References:

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

More information:

See updated/extended version on-line.