Previous: 4.53.2.1.12. saveToOffset() To the Table of Contents Next: 4.53.2.1.14. setFGColor()
4.53.2.1.12. saveToOffset() Table of Contents 4.53.2.1.14. setFGColor()

- 4.53.2.1.13. -
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.13. setBGColor()


4.53.2.1.13. setBGColor()

Targets: MS-DOS, Win32 console


ogFont Unit

Sets the background colour of the font.

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

Sets the red, green, blue values for the background colour of the font. If the background colour is the same as the transparent colour of the surface then only the foreground colour will be used. 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.12. saveToOffset() To the Table of Contents Next: 4.53.2.1.14. setFGColor()
4.53.2.1.12. saveToOffset() Table of Contents 4.53.2.1.14. setFGColor()

- 4.53.2.1.13. -