Backdrop - SFX-WoW/Masque GitHub Wiki
The Backdrop
region is the artwork that appears behind all other regions.
Notes
- By default, this region is only available to MultiBar buttons. Masque extends this support to all button types.
The following is a list of attributes available to this region and their default values.
Attribute | Default |
---|---|
BlendMode |
BLEND |
Color |
1, 1, 1, 0.4 |
DrawLayer |
BACKGROUND |
DrawLevel |
-1 |
Height |
66 |
Hide |
false |
Mask |
- |
OffsetX |
0 |
OffsetY |
0 |
Point |
CENTER |
RelPoint |
CENTER |
SetAllPoints |
false |
TexCoords |
0, 1, 0, 1 |
Texture |
Interface\Buttons\UI-Quickslot |
UseColor |
false |
Width |
66 |
The following is a list of methods that are used by Masque to apply skin settings to this region.
Method |
---|
AddMaskTexture |
ClearAllPoints |
Hide |
RemoveMaskTexture |
SetBlendMode |
SetColorTexture |
SetDrawLayer |
SetParent |
SetPoint |
SetSize |
SetTexCoord |
SetTexture |
SetVertexColor |
Show |
Due to the custom nature of this region, use Masque's GetBackdrop
API method to gain access to it.
The following is a list of region definitions for each applicable button type if the button is derived from a template of that type.
Type | Key | Name |
---|---|---|
Action | - |
FloatingBG * |
* Only available in MultiBarButtonTemplate
.