Fandom

WoWWiki

API Frame CreateFontString

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

 

Widget API ← Frame < CreateFontString

fontstring = Frame:CreateFontString(["name" [, "layer" [, "inherits"]]])


Arguments
name - Global name for the new font string (string)
layer - Graphic layer on which to create the font string; defaults to ARTWORK if not specified (string, layer)
inherits - Name of a template from which the new front string should inherit (string)

Returns
fontstring - Reference to the new FontString object (fontstring)

Example


Result



Notes

Also on Fandom

Random Wiki