Sets the color of the printed text.
class procedure SetPrintColor(const Red: Byte; const Green: Byte; const Blue: Byte; const Alpha: Byte = $FF); overload; static;
Parameters |
Description |
const Red: Byte |
the red component of the print color. |
const Green: Byte |
the green component of the print color. |
const Blue: Byte |
the blue component of the print color. |
const Alpha: Byte = $FF |
(optional) the alpha component of the print color, where 0 is fully transparent and 255 (default) is fully opaque. |
This is a global command and will affect all printed text in the next frame. To control color on a per string basis, use TAgkText.
Copyright (c) 2012. All rights reserved.
|