The API is no longer being updated here until further notice. |
Sets the text to be displayed in the FontString.
fontString:SetText(text)
Arguments[]
- text
- string - The text to be displayed.
Details[]
- FontString has a limit of ~4000 chars.[citation needed]
- The font must be set before showing text.
- The text may be formatted using UI Escape Sequences.
Example[]
fontString:SetText("|cff000000This text is black,|r |cffff0000while this text will be red.|r")