SetTextCharBold
Description
Sets the character to have the bold style. This only applies if the text is using a TrueType font set with SetTextFont. If you use SetTextString then this setting will be reset to 0. You can use SetTextBold to set the entire string to bold.
Definition
SetTextCharBold( iTextIndex, iCharIndex, bold )
void agk::SetTextCharBold( uint32_t iTextIndex, uint32_t iCharIndex, uint32_t bold )
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.
- bold - 1 to set the character as bold, 0 to set it as normal weight (default)