new Panel()
A UI element that acts as a container for other UI elements,
providing a background and border.
- Source:
Extends
- BaseUIElement
Members
children :Array.<BaseUIElement>
Type:
- Array.<BaseUIElement>
- Source:
Methods
(protected) _drawSelf(context, engine)
Specific drawing logic for the Panel and its children.
Called by BaseUIElement.render after visibility and context checks.
Parameters:
Name | Type | Description |
---|---|---|
context |
CanvasRenderingContext2D | The rendering context. |
engine |
- Source: