WoW:API FontInstance SetTextColor: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<center>'''SetTextColor''' ''-Documentation by DerGhulbus-''</center>
{{widgetmethod}}
 
obj:SetTextColor(r, g, b{, a})


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


----
obj:SetTextColor(red, green, blue[, alpha])
;''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''
 
???


----
== Arguments ==
;''See also:''


[[API_Button_SetHighlightTextColor]]
:;red: Number - Red part of color (0.0 -- 1.0)
:;green: Number - Green part of color (0.0 -- 1.0)
:;blue: Number - Blue part of color (0.0 -- 1.0)
:;alpha: Number - Alpha (transparency) value (0.0 for totally transparent, 1.0 for solid color)


----
== See Also ==
{{WoW API}}
* [[API Button SetHighlightTextColor|Button:SetHighlightTextColor]]()
Anonymous user