Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame SetBackdropColor

Last wiki revision 2023-08-20

s provide two methods to apply tint to their : frame:SetBackdropColor(red, green, blue[, alpha]) frame:SetBackdropBorderColor(red, green, blue[, alpha])

  • SetBackdropColor tints the background component of a frame's backdrop
  • SetBackdropBorderColor tints the border component of a frame's backdrop
  • red : Number - Proportion of the original red colour to remain, from 0 to 1
  • green : Number - Proportion of the original green colour to remain, from 0 to 1
  • blue : Number - Proportion of the original blue colour to remain, from 0 to 1
  • alpha : Number - Proportion of the original opaqueness to remain, from 0 to 1
  • These values only modify the existing colour and alpha of the backdrop files; it its not possible to be lighter or more opaque than the original
  • Subsequent calls to the same function will override previous ones; i.e. they apply to the original texture directly rather than interacting with the previously-tinted one

Source

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