WoW:API FontInstance GetTextColor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{stub/api}})
m (Move page script moved page API FontInstance GetTextColor to API FontInstance GetTextColor without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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

Latest revision as of 04:45, 15 August 2023

Widget API ← FontInstance < GetTextColor

Gets the text color of of a Font Instance.

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


Arguments[edit]

None


Returns[edit]

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