Previous: 4.53.2.1.13. setBGColor() To the Table of Contents Next: 4.53.2.1.15. textWidth()
4.53.2.1.13. setBGColor() Table of Contents 4.53.2.1.15. textWidth()

- 4.53.2.1.14. -
Table of Contents
4. Standard Units
4.53. ogFont - BitFont support for ObjGfx 4.0
4.53.2. ogFont Unit Objects
4.53.2.1. ogBitFont object
4.53.2.1.14. setFGColor()


4.53.2.1.14. setFGColor()

Targets: MS-DOS, Win32 console


ogFont Unit

Sets the foreground colour of the font.

Declaration:
  procedure setFGColor(red, green, blue, alpha:uInt8);
Remarks:

Sets the red, green, blue values for the font to use when displaying a character. The alpha field will be encoded into the pixel and will only have an effect if blending is enabled in the destination surface.

The red, green, and blue values are with a range of 0..255, where 0 is minimum and 255 is maximum.

See also:


Previous: 4.53.2.1.13. setBGColor() To the Table of Contents Next: 4.53.2.1.15. textWidth()
4.53.2.1.13. setBGColor() Table of Contents 4.53.2.1.15. textWidth()

- 4.53.2.1.14. -