Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API FontString SetAlphaGradient
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{widgetmethod}} Creates or removes an alpha gradient over the text in the FontString fading from 100% opaque to 100% transparent. success = FontString:SetAlphaGradient(start,length) ---- ;''Arguments'' ; start : Distance from the left in pixels that the gradient will start ; length : Length in pixels of the gradient. : If the length is 0, the text is returned to normal. ---- ;''Returns'' ; success : 1 if the gradient change was made : nil if no action was taken ---- ;''Example'' To see it's effects try this: GameTooltipTextLeft1:SetAlphaGradient(0,40) Now, view any tooltip. You will see the text on the first line of the tooltip fade out as it approaches 40 pixels from the left. To set the tooltip back use: GameTooltipTextLeft1:SetAlphaGradient(0,0)
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Widget
(
edit
)
Template:Widgetmethod
(
edit
)