WoW:API FontInstance SetFontObject: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Font:SetFontObject(fontObject) - | Font:SetFontObject(fontObject) - Inherits all details from another font. | ||
fontObject is a font object (or nil) | fontObject is a font object (or nil) | ||
Line 9: | Line 9: | ||
== Notes: == | == Notes: == | ||
Many font objects are predefined in Fonts.xml. Anything which one can | Many font objects are predefined in Fonts.xml. Anything from which one can inherit a <FontString> is a font object. | ||
{{template:WoW API}} | {{template:WoW API}} |
Revision as of 13:42, 20 May 2006
Font:SetFontObject(fontObject) - Inherits all details from another font.
fontObject is a font object (or nil)
Usage
Font:SetFont(GameTooltipTextSmall)
Notes:
Many font objects are predefined in Fonts.xml. Anything from which one can inherit a <FontString> is a font object.