Lore archive · Warcraft Wiki, 2023 dump
API Frame CreateFontString
Last wiki revision 2023-08-17
Creates a fontstring. line = Frame:CreateFontString([name, drawLayer, templateName])
- name: - The global variable name that will be assigned, or for an anonymous fontstring.
- drawLayer: - The layer the font should be drawn in.
- templateName: - The name of a virtual template. If nil, the font string does not inherit any properties.
- line: - The new fontstring object as a child of this frame.
- Unlike s, FontStrings do not support sublayers, and will always be drawn above textures sharing the same layer.
Shows "Hello world" on the screen.
Source
https://warcraft.wiki.gg/wiki/API_Frame_CreateFontString · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.