FontD constructor

FontD({
  1. Pointer<FontC>? originalPointer,
  2. int baseSize = 0,
  3. int glyphCount = 0,
  4. int glyphPadding = 0,
  5. TextureD? texture,
  6. List<RectangleD>? recs,
  7. 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 ?? [];