LayeredRegion

From Warcraft Wiki
Jump to navigation Jump to search

LayeredRegion (inherits from Region) is an abstract widget type that groups together the functionality of layered graphical regions: Textures, FontStrings, Lines and MaskTextures. These objects can be moved from one layer to another, or can be suppressed by turning off the layer on the frame to which they are attached.

Methods

LayeredRegion:GetDrawLayer() - Returns the layer at which the region's graphics are drawn relative to others in its frame.
LayeredRegion:SetDrawLayer(layer [, sublevel]) - Sets the layer at which the region's graphics are drawn relative to others in its frame.
LayeredRegion:SetVertexColor(r, g, b [, a]) - Sets a color shading for the region's graphics.

Patch changes

References

 
  1. ^ 2017-03-28, UI.xsd, version 7.2.0.23835, near line 633, archived at Townlong-Yak
  2. ^ 2016-07-19, UI.xsd, version 7.0.3.22267, near line 599, archived at Townlong-Yak
  3. ^ 2014-12-06, UI.xsd, version 1.1.2.4115, near line 325, archived at Townlong-Yak