WoW:API Frame SetBackdropColor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Accepts RGBA triplet in 0-1.0 valuesE.g. (1.0, 0, 0, 0.5) for semi-transparent red.
<center>'''FontString:SetBackdropColor''' ''-Documentation by [[User:Gxam|Gxam]]-''</center>
 
Set the color of the backdrop.
 
  someText:SetBackdropColor(red,green,blue,alpha)
 
== Parameters ==
=== Arguments ===
<!-- List each argument, together with its type -->
:(red, green, blue, alpha)
 
:;red : Number - Range 0 to 1
:;green : Number - Range 0 to 1
:;blue : Number - Range 0 to 1
:;alpha : Number - Range 0 to 1.  Optional.
 
=== Returns ===
Nothing.


----
----
{{WoW API}}
__NOTOC__
{{Template:WoW API}}

Revision as of 20:30, 14 January 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
green
Number - Range 0 to 1
blue
Number - Range 0 to 1
alpha
Number - Range 0 to 1. Optional.

Returns

Nothing.


Template:WoW API