WoW:XML/Color elements

From AddOn Studio
< XML
Revision as of 07:06, 8 September 2005 by WoWWiki>Futrtrubl
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Atributes: r="#" g="#" b="#" a="#"

  1. is a value from 0 to 1, r is red, g is green, b is blue and a is alpha 

The Color element when used in a Texture element is there only to an area with a solid block of color (with thansparency). With other elements it can be used to change the color of the objects the element contains (such as the text in a fontstring). If you define file="" in the texture tag however Color will have no effect. You will have to use texturename:SetVertexColor()