the resolved filled colour: the explicit one, or the theme's highlight
total icons
filled icons, fractions included
Removes all internal references and listeners as well as removes children from the display list.
Do not use a Container after calling destroy.
Optionaloptions: DestroyOptions
Options parameter. A boolean will act as if all options have been set to that value
Recolours the fill at runtime, counting as explicit exactly as passing color does,
so a later theme change cannot throw the game's own colour away.
A discrete meter: N icons with a value filled, the Zelda heart row or star rating to
Bar's continuous fill. Fractions clip mid-icon through a mask, so halves (or any fraction) work identically for flat shapes and game-supplied textures, with no extra half-state art to author.Flat icons are theme-drawn pips; game art arrives as a
filledTexture/emptyTexturepair, which must come together - one without the other throws, since a half-drawn meter would only guess. Colour follows the theme the wayBardoes unless the game passes its own, and a passed colour survives later theme changes.Example