Shadow - SFX-WoW/Masque GitHub Wiki

Contents

The Shadow region is a custom region that adds a glow or shadow effect to a button.

Notes

  • This region is hidden on empty buttons.

Attributes

The following is a list of attributes available to this region and their default values.

Attribute Default
Anchor -
Atlas -
BlendMode BLEND
Color 1, 1, 1, 1
DrawLayer ARTWORK
DrawLevel -1
Height 36
Hide true
OffsetX 0
OffsetY 0
Point CENTER
RelPoint CENTER
SetAllPoints -
TexCoords 0, 1, 0, 1
Texture -
UseAtlasSize -
Width 36

Methods

The following is a list of methods that may be used by Masque to apply skin settings to this region.

Method
ClearAllPoints
Hide
SetAllPoints
SetAtlas
SetBlendMode
SetDrawLayer
SetParent
SetPoint
SetSize
SetTexCoord
SetTexture
SetVertexColor
Show

Region Access

Due to the custom nature of this region, use Masque's GetShadow API method to gain access to it.

⚠️ **GitHub.com Fallback** ⚠️