Widget API: Frame:CreateFontString

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API Frame CreateFontString to API Frame CreateFontString without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

 

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