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( uint32_t iTextIndex, uint32_t iCharIndex, uint32_t red, uint32_t green, uint32_t blue, uint32_t 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.