WoW:API Frame SetBackdropColor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
:(red, green, blue, alpha)
:(red, green, blue, alpha)


:;red : Number - Range 0 to 1
:;red : Number - Range 0 to 1 (Darkest to Lightest)
:;green : Number - Range 0 to 1
:;green : Number - Range 0 to 1 (Darkest to Lightest)
:;blue : Number - Range 0 to 1
:;blue : Number - Range 0 to 1 (Darkest to Lightest)
:;alpha : Number - Range 0 to 1.  Optional.
:;alpha : Number - Range 0 to 1.  Optional. (Transparent to Opaque)


=== Returns ===
=== Returns ===

Revision as of 20:02, 25 April 2006

FontString:SetBackdropColor -Documentation by Gxam-

Set the color of the backdrop.

someText:SetBackdropColor(red,green,blue,alpha)

Parameters

Arguments

(red, green, blue, alpha)
red
Number - Range 0 to 1 (Darkest to Lightest)
green
Number - Range 0 to 1 (Darkest to Lightest)
blue
Number - Range 0 to 1 (Darkest to Lightest)
alpha
Number - Range 0 to 1. Optional. (Transparent to Opaque)

Returns

Nothing.


Template:WoW API