WoW:API FontString SetTextColor: Difference between revisions

m
Move page script moved page API FontString SetTextColor to WoW:API FontString SetTextColor without leaving a redirect
No edit summary
m (Move page script moved page API FontString SetTextColor to WoW:API FontString SetTextColor without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''FontString:SetTextColor''' ''-Documentation by [[user:Author|Author]]-''</center>
{{widgetmethod}}
 
Set the color of the text.
Set the color of the text.


Line 19: Line 18:


== Example ==
== Example ==
  string:SetTextColor(1.0, 0,0, 0.5)
  string:SetTextColor(1, 1, 1, 0.5)


====Result====
====Result====
This will set the text color to be used with SetText() or any other output function. In this the text will be semi transparent red.
This will set the text color to be used with SetText() or any other output function. In this the text will be semi transparent red.


----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
Anonymous user