FontD constructor
FontD({
- Pointer<
FontC> ? originalPointer, - int baseSize = 0,
- int glyphCount = 0,
- int glyphPadding = 0,
- TextureD? texture,
- List<
RectangleD> ? recs, - List<
GlyphInfoD> ? glyphs,
Implementation
FontD({
super.originalPointer,
this.baseSize = 0,
this.glyphCount = 0,
this.glyphPadding = 0,
TextureD? texture,
List<RectangleD>? recs,
List<GlyphInfoD>? glyphs,
}) :
texture = texture ?? .new(),
recs = recs ?? [],
glyphs = glyphs ?? [];