LayeredRegion is an abstract UI type that groups together the functionality of layered graphical regions, specifically Textures and FontStrings. 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. These layered regions can also be colorized in the graphics engine using the :SetVertexColor()
method.
Defined Methods
- layer, sublayer = LayeredRegion:GetDrawLayer() - Returns the layer at which the region's graphics are drawn relative to others in its frame
- LayeredRegion:SetDrawLayer("layer", sublayer) - Sets the layer at which the region's graphics are drawn relative to others in its frame
- LayeredRegion:SetVertexColor(red, green, blue [, alpha]) - Sets a color shading for the region's graphics
Inherited Methods
- LayeredRegion:IsForbidden() - This function is not yet documented
- isOver = LayeredRegion:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) - Returns whether the mouse cursor is over the given region
- isType = LayeredRegion:IsObjectType("type") - Returns whether the object belongs to a given widget type
- isProtected, explicit = LayeredRegion:IsProtected() - Returns whether the region is protected
- shown = LayeredRegion:IsShown() - Returns whether the region is shown
- visible = LayeredRegion:IsVisible() - Returns whether the region is visible
- LayeredRegion:SetAllPoints([region]) or LayeredRegion:SetAllPoints(["name"]) - Sets all anchor points of the region to match those of another region
- LayeredRegion:SetAlpha(alpha) - Sets the opacity of the region relative to its parent
- LayeredRegion:SetHeight(height) - Sets the region's height
- LayeredRegion:SetParent(frame) or LayeredRegion:SetParent("name") - Makes another frame the parent of this region
- LayeredRegion:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) - Sets an anchor point for the region
- LayeredRegion:SetSize(width, height) - Sets the size of the region to the specified values
- LayeredRegion:SetWidth(width) - Sets the region's width
- LayeredRegion:Show() - Shows the region
- LayeredRegion:StopAnimating() - Stops any active animations involving the region or its children