Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame SetBackdrop

Last wiki revision 2023-08-20

Sets the backdrop texture of a frame.

  • bgFile : <font color="#ecbc2a">string - Texture path to use for the background
  • edgeFile : <font color="#ecbc2a">string - Texture path to use for the edges
  • tile : <font color="#ecbc2a">boolean - True if the background texture should tile, false if it should stretch
  • tileSize : <font color="#ecbc2a">number - If is true, size of each tiled copy of the bgFile
  • tileEdge : <font color="#ecbc2a">boolean
  • edgeSize : <font color="#ecbc2a">number - Size of the edgeFile (i.e. border thickness and corner size)
  • insets - left, right, top, bottom : <font color="#ecbc2a">number - How far from the edges the background will be drawn (e.g. use higher values for thicker edges)
  • Passing as the only argument removes the backdrop.

Sets a backdrop with UI-Tooltip-Background and UI-Tooltip-Border (FrameXML example).

  • TooltipBackdropTemplate
  • TooltipBorderBackdropTemplate

Source

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