Widget API: FontInstance:SetTextColor

From AddOn Studio
Revision as of 12:16, 29 July 2006 by WoWWiki>Mikk
Jump to navigation Jump to search

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)

See Also