WoW:API FontInstance SetFontObject: Difference between revisions

m
(Use {{wdnlink}} for fonts.xml)
Line 11: Line 11:
== Example ==
== Example ==


  Font:SetFont(GameTooltipTextSmall)
  Font:SetFontObject(GameTooltipTextSmall)
 
Font:SetFont("GameTooltipTextSmall")


Font:SetFontObject("GameTooltipTextSmall")


== Notes: ==  
== Notes: ==  


Many font objects are predefined in [{{wdnlink|FrameXML/Fonts.xml}} Fonts.xml] in [[FrameXML]].  Anything from which one can inherit a <FontString> is a font object.
Many font objects are predefined in [{{wdnlink|FrameXML/Fonts.xml}} Fonts.xml] in [[FrameXML]].  Anything from which one can inherit a <FontString> is a font object.
Anonymous user