VisibleRegion is an abstract UI type used to describe the common functionality of objects that can be placed on the screen, and visible. In particular, methods exist to show and hide the frame, and change the alpha transparency.
Defined Methods
- alpha = VisibleRegion:GetAlpha() - Returns the opacity of the region relative to its parent
- VisibleRegion:Hide() - Hides the region
- shown = VisibleRegion:IsShown() - Returns whether the region is shown
- visible = VisibleRegion:IsVisible() - Returns whether the region is visible
- VisibleRegion:SetAlpha(alpha) - Sets the opacity of the region relative to its parent
- VisibleRegion:Show() - Shows the region
Inherited Methods
- VisibleRegion:IsForbidden() - This function is not yet documented
- isOver = VisibleRegion:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) - Returns whether the mouse cursor is over the given region
- isType = VisibleRegion:IsObjectType("type") - Returns whether the object belongs to a given widget type
- isProtected, explicit = VisibleRegion:IsProtected() - Returns whether the region is protected
- VisibleRegion:SetAllPoints([region]) or VisibleRegion:SetAllPoints(["name"]) - Sets all anchor points of the region to match those of another region
- VisibleRegion:SetHeight(height) - Sets the region's height
- VisibleRegion:SetParent(frame) or VisibleRegion:SetParent("name") - Makes another frame the parent of this region
- VisibleRegion:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) - Sets an anchor point for the region
- VisibleRegion:SetSize(width, height) - Sets the size of the region to the specified values
- VisibleRegion:SetWidth(width) - Sets the region's width
- VisibleRegion:StopAnimating() - Stops any active animations involving the region or its children