SetTextCharColor
Description
Sets the color of the specified character. Using the SetTextColor command will override this. Values should be in the range 0-255.
Definition
SetTextCharColor( iTextIndex, iCharIndex, red, green, blue, alpha )
void agk::SetTextCharColor( UINT iTextIndex, UINT iCharIndex, UINT red, UINT green, UINT blue, UINT alpha )
Parameters
- iTextIndex - The ID of the text object to set.
- iCharIndex - The index of the character to set, indexes start at 0, if the index is out of range it will be ignored.
- red - the red component of the new color.
- green - the green component of the new color.
- blue - the blue component of the new color.
- alpha - the alpha component of the new color.