A filled surface: chrome bands, cards, placeholders. Non-interactive but blocking by default
(children stay interactive, pointer hits never fall through). corner rounds the fill;
the four border* flags draw 1px themed edges and outline draws a full 1px frame.
Themed by default: fill is a UIFill — a theme slot (PANEL unless you pass another)
that re-reads the palette every render and follows theme swaps, or any ARGB colour literal
(new UIPanel(w, h, 0xFF1E1E21)) for the rare fixed surface that shouldn't.
Constructor
Variables
fill:UIFill = PANEL
What the panel paints: a theme slot (follows theme swaps) or a fixed ARGB colour.
gradient:UIGradient = null
Optional gradient fill; overrides fill when set (fixed colours — see UIGradient).