GetBackdrop - SFX-WoW/Masque GitHub Wiki

Contents

The GetBackdrop method of Masque's API returns the Backdrop texture currently assigned to a button.

Example

-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)

-- Get the Backdrop texture.
local Backdrop = Masque:GetBackdrop(Button)

Signature

{Backdrop} = {Masque}:GetBackdrop({Button})

Parameters

Parameter Type Required Description
Button table Yes The button object to retrieve the Backdrop texture from.

Returns

Return Type Description
Backdrop table The Backdrop texture object assigned to Button.
⚠️ **GitHub.com Fallback** ⚠️