SetTextColor
Description
Set the color of the text, the values should be in the range 0-255. This will set all characters in the text to be this color. You can set individual characters using SetTextCharColor.
Definition
SetTextColor( iTextIndex, iRed, iGreen, iBlue, iAlpha )
void agk::SetTextColor( uint32_t iTextIndex, uint32_t iRed, uint32_t iGreen, uint32_t iBlue, uint32_t iAlpha )
Parameters
- iTextIndex - The ID of the text to modify.
- iRed - The red component of the color.
- iGreen - The green component of the color.
- iBlue - The blue component of the color.
- iAlpha - The alpha component of the color.