The built-in vector glyph set, drawn directly into a Graphics at any size — no assets, crisp at every UITheme.scale, tinted by whatever colour the caller passes (so theme swaps re-tint for free in the widget's own render pass).

Glyph ids are the named UIGlyph values (grouped media / actions / navigation / files / system-status); UIGlyph.COUNT bounds iteration for pickers/demos. All geometry lives inside a ~0.22..0.78 margin of the unit box so glyphs share optical weight when mixed.

Static methods

@:value({ a : 1 })staticdraw(g:Graphics, glyph:UIGlyph, x:Float, y:Float, s:Float, color:Int, a:Float = 1):Void

Draws a glyph into a Graphics (call inside a widget's render(); does not clear()).

Parameters:

g

the target graphics

glyph

the glyph to draw (a UIGlyph, e.g. CHEVRON_LEFT)

x

the icon box left edge

y

the icon box top edge

s

the icon box edge length (glyphs pad themselves within it)

color

the tint (0xRRGGBB; alpha bits masked off — use a for opacity)

a

opacity 0..1