WoW:API FontInstance SetTextColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{widgetmethod}} | |||
Sets the object's text color. | Sets the object's text color. | ||
obj:SetTextColor(red, green, blue[, alpha]) | |||
: | |||
== Arguments == | |||
:;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 == | |||
* [[API Button SetHighlightTextColor|Button:SetHighlightTextColor]]() |
Revision as of 12:16, 29 July 2006
← Widget API ← FontInstance < SetTextColor
Sets the object's text color.
obj:SetTextColor(red, green, blue[, alpha])
Arguments
- 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)