What fills a themed rectangle: a theme slot (follows theme swaps) or a fixed 0xAARRGGBB colour (stays put). One Int at runtime — the six slot ids live in the alpha-zero range no real colour occupies, so resolve() tells them apart with a single branch.

from Int means both forms read naturally where a UIFill is expected: slot names resolve unqualified (new UIPanel(w, h, CARD)) and any colour literal is accepted as a fixed fill (new UIPanel(w, h, 0xFF1E1E21)).

The encoding reserves alpha == 0, so a fully transparent fixed fill can't be expressed — use a non-blocking group or the widget's alpha instead.

Static methods

staticinlineresolve(this:Int):Int

The ARGB colour this fill paints right now: theme slots re-read the live palette (so widgets calling this in render() follow theme swaps), fixed colours return themselves.

Returns:

the resolved 0xAARRGGBB colour

Variables

@:value(cast 0)@:impl@:enuminlineread onlyBG:UIFill = 0

@:value(cast 4)@:impl@:enuminlineread onlyCARD:UIFill = 4

@:value(cast 5)@:impl@:enuminlineread onlyINPUT:UIFill = 5

@:value(cast 1)@:impl@:enuminlineread onlyPANEL:UIFill = 1

@:value(cast 2)@:impl@:enuminlineread onlyPANEL2:UIFill = 2

@:value(cast 3)@:impl@:enuminlineread onlyPANEL3:UIFill = 3