Font constructor
Font({})
Implementation
Font({
super.op,
int baseSize = 0,
int glyphCount = 0,
int glyphPadding = 0,
Texture? texture,
List<Rectangle>? recs,
List<GlyphInfo>? glyphs,
}) :
_baseSize = baseSize,
_glyphCount = glyphCount,
_glyphPadding = glyphPadding,
_texture = texture ?? .new()
{
_recs = field_recs.live(() => op, recs ?? []);
_glyphs = field_glyphs.live(() => op, glyphs ?? []);
}