WoW:API StatusBar SetStatusBarColor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}} __NOTOC__
{{stub/api}}


Sets the color of a StatusBar object.
Sets the color of a StatusBar object.
StatusBar:SetStatusBarColor(r, g, b, a)


Arguments: standard r, g, b, a
 
== Arguments ==
:(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
 
 
== Returns ==
:nil

Revision as of 15:35, 27 June 2007

Widget API ← StatusBar < SetStatusBarColor

Sets the color of a StatusBar object.

StatusBar:SetStatusBarColor(r, g, b, a)


Arguments

(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


Returns

nil