API Frame CreateFontString

Creates a fontstring.
 line = Frame:CreateFontString([name, drawLayer, templateName])
==Arguments==
:;name: - The global variable name that will be assigned, or nil 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.
==Returns==
:;line: - The new fontstring object as a child of this frame.
==Details==
* Unlike s, FontStrings do not support sublayers, and will always be drawn above textures sharing the same layer.
==Example==
Shows "Hello world" on the screen.
local fs = UIParent:CreateFontString(nil, "OVERLAY", "GameTooltipText")
fs:SetPoint("CENTER")
fs:SetText("Hello world")
API_Frame_CreateFontString_01.png|link=
==Patch changes==