Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (API LayoutFrame SetAlpha moved to API UIObject SetAlpha)
(Corrected the range.)
Line 1: Line 1:
 
{{widgetmethod}}
 
{{widgetmethod}}
   
Sets the alpha of given object. Alpha is an integer between 0 and 255, 255 being opaque, 0 being transparent.
+
Sets the alpha of given object. Alpha is an integer between 0 and 1. 1 being opaque, 0 being transparent.
   
e.g. MyFrame:SetAlpha(200); makes the frame translucent, more visible than not.
+
e.g. MyFrame:SetAlpha(.75); makes the frame translucent, more visible than not.

Revision as of 00:41, 4 July 2006

Sets the alpha of given object. Alpha is an integer between 0 and 1. 1 being opaque, 0 being transparent.

e.g. MyFrame:SetAlpha(.75); makes the frame translucent, more visible than not.