FANDOM


({{stub/api}})
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{widgetmethod}}
+
{{widgetmethod}} __NOTOC__
{{stub/api}}
 
   
Quick summary: r,g,b,a = FontString:GetTextColor()
+
Gets the text color of of a [[UIOBJECT_FontInstance|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

Revision as of 15:17, June 27, 2007

Widget API ← FontInstance < GetTextColor

Gets the text color of of a Font Instance.

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


Arguments

None


Returns

r, g, b, a
Number - The red value of the color
Number - The green value of the color
Number - The blue value of the color
Number - The alpha value of the color
Community content is available under CC-BY-SA unless otherwise noted.