Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
({{stub/api}})
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{widgetmethod}}
+
{{widgetmethod}} __NOTOC__
{{stub/api}}
 
   
  +
Gets the text color of of a [[UIOBJECT_FontInstance|Font Instance]].
Quick summary: r,g,b,a = FontString:GetTextColor()
+
r, g, b, a = FontInstance:GetTextColor()
  +
  +
  +
== Arguments ==
  +
None
  +
  +
  +
== Returns ==
  +
:r, g, b, a
  +
:; r : Number - The red value of the color
  +
:; g : Number - The green value of the color
  +
:; b : Number - The blue value of the color
  +
:; a : Number - The alpha value of the color

Revision as of 15:17, 27 June 2007

Gets the text color of of a Font Instance.

r, g, b, a = FontInstance:GetTextColor()


Arguments

None


Returns

r, g, b, a
r
Number - The red value of the color
g
Number - The green value of the color
b
Number - The blue value of the color
a
Number - The alpha value of the color