WoW:API FontInstance SetFontObject: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
Font:SetFontObject(fontObject) - Inhereits all details from another font.
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 inhereit a <FontString> from is a font object.
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.

Template:WoW API