WoW:API FontInstance SetTextColor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<center>'''SetTextColor''' ''-Documentation by DerGhulbus-''</center>
<center>'''SetTextColor''' ''-Documentation by DerGhulbus-''</center>


  Button:SetText(r, g, b)
  obj:SetTextColor(r, g, b{, a})


Sets the Button's text color.
Sets the object's text color.


----
----
Line 14: Line 14:
:Float
:Float
:;b: Blue part of new color (1.0 for 100% intensity)
:;b: Blue part of new color (1.0 for 100% intensity)
:Float
:;a: Alpha part of new color (1.0 for 100% opacity)


----
----

Revision as of 23:16, 21 May 2006

SetTextColor -Documentation by DerGhulbus-
obj:SetTextColor(r, g, b{, a})

Sets the object's text color.


Arguments
Float
r
Red part of new color (1.0 for 100% intensity)
Float
g
Green part of new color (1.0 for 100% intensity)
Float
b
Blue part of new color (1.0 for 100% intensity)
Float
a
Alpha part of new color (1.0 for 100% opacity)

Returns

???


See also:

API_Button_SetHighlightTextColor


Template:WoW API