Lore archive · Warcraft Wiki, 2023 dump
API Font GetAlpha
Last wiki revision 2021-08-09
Manages the alpha (or opacity) of any text using a object. font:SetAlpha(alpha) alpha = font:GetAlpha
- alpha : - Opacity of the text as a proportion from 0 (transparent) to 1 (opaque)
- Font:SetAlpha and are two different kinds of alpha, but how they interact varies:
- simply adopts whichever alpha was set most recently.
- , and use their Region alpha for backgrounds and borders, but multiply both alphas together for text.
An EditBox with 50% alpha, assigned a Font with 50% alpha. The text's net alpha is returned using a generic formula.
Source
https://warcraft.wiki.gg/wiki/API_Font_GetAlpha · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.