LineMetrics constructor

LineMetrics({
  1. required double ascent,
  2. required double descent,
  3. required double baseline,
  4. required double height,
})

Creates a new LineMetrics object.

Implementation

LineMetrics({
  required this.ascent,
  required this.descent,
  required this.baseline,
  required this.height,
});