WoW:API FontInstance GetTextColor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{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, 27 June 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
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