The API is no longer being updated here until further notice. |
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[]
- Patch 7.2.0 (2017-03-28): Added MaskTexture.[1]
- Patch 7.0.3 (2016-07-19): Added Line.[2]
- Patch 1.1.0 (2004-11-07): Added.[3]
References[]
- ^ 2017-03-28, UI.xsd, version 7.2.0.23835, near line 633, archived at Townlong-Yak
- ^ 2016-07-19, UI.xsd, version 7.0.3.22267, near line 599, archived at Townlong-Yak
- ^ 2014-12-06, UI.xsd, version 1.1.2.4115, near line 325, archived at Townlong-Yak