Font constructor

Font(
  1. String family, {
  2. required int size,
  3. required int w,
  4. required int h,
  5. required int x,
  6. required int y,
})

Implementation

Font(this.family,
    {required this.size,
    required int w,
    required int h,
    required this.x,
    required this.y})
    : charWidth = w,
      lineHeight = h;