computeDistanceToBaseline method

  1. @override
double computeDistanceToBaseline()
override

Compute distance to baseline of replaced element

Implementation

@override
double computeDistanceToBaseline() {
  return textPainter.computeDistanceToActualBaseline(CSSText.getTextBaseLine());
}