AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkText.SetCharColor Method (Integer, Byte, Byte, Byte, Byte)

Sets the color of the specified character.

Syntax
Pascal
procedure SetCharColor(const CharIndex: Integer; const Red: Byte; const Green: Byte; const Blue: Byte; const Alpha: Byte = $FF); overload;
Parameters 
Description 
const CharIndex: Integer 
The index of the character to modify. Indexes start at 0. If the index is out of range it will be ignored. 
const Red: Byte 
the red component of the color. 
const Green: Byte 
the green component of the color. 
const Blue: Byte 
the blue component of the color. 
const Alpha: Byte = $FF 
(optional) the alpha component of the color, where 0 is fully transparent and 255 (default) is fully opaque. 

Using the SetColor method will override this.

Copyright (c) 2012. All rights reserved.