SpriteFontTextElement constructor

SpriteFontTextElement({
  1. required Image source,
  2. required Float32List transforms,
  3. required Float32List rects,
  4. required Paint paint,
  5. required LineMetrics metrics,
})

Implementation

SpriteFontTextElement({
  required this.source,
  required this.transforms,
  required this.rects,
  required this.paint,
  required LineMetrics metrics,
}) : _box = metrics;