Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame GetBackdropColor

Last wiki revision 2023-08-20

s provide two methods to determine the tint applied to their : red, green, blue, alpha = frame:SetBackdropColor red, green, blue, alpha = frame:SetBackdropBorderColor

  • GetBackdropColor returns the tint applied to the background component of a frame's backdrop
  • GetBackdropBorderColor returns the tint applied to the border component of a frame's backdrop
  • red : Number - Remaining proportion of the original red colour, from 0 to 1
  • green : Number - Remaining proportion of the original green colour, from 0 to 1
  • blue : Number - Remaining proportion of the original blue colour, from 0 to 1
  • alpha : Number - Remaining proportion of the original opaqueness, from 0 to 1
  • These values describe any tint applied to the backdrop files, not the actual colour and alpha of each pixel in those file
  • These values also ignore other sources of transparency that could affect the appearance, such as

Source

https://warcraft.wiki.gg/wiki/API_Frame_GetBackdropColor · 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.