FontD constructor
FontD({
- StructPointer<
FontD> ? op, - int baseSize = 0,
- int glyphCount = 0,
- int glyphPadding = 0,
- TextureD? texture,
- List<
RectangleD> ? recs, - List<
GlyphInfoD> ? glyphs,
Implementation
FontD({
super.op,
int baseSize = 0,
int glyphCount = 0,
int glyphPadding = 0,
TextureD? texture,
List<RectangleD>? recs,
List<GlyphInfoD>? glyphs,
}) :
_baseSize = baseSize,
_glyphCount = glyphCount,
_glyphPadding = glyphPadding,
_texture = texture ?? .new()
{
_recs = field_recs.live(() => op, recs ?? []);
_glyphs = field_glyphs.live(() => op, glyphs ?? []);
}