drawLine method

double drawLine(
  1. int i,
  2. double drawOffset,
  3. Canvas canvas,
  4. LyricsLineModel element,
)

Implementation

double drawLine(
    int i, double drawOffset, Canvas canvas, LyricsLineModel element) {
  //空行直接返回
  if (!element.hasMain && !element.hasExt) {
    return lyricUI.getBlankLineHeight();
  }
  return _drawOtherLyricLine(canvas, drawOffset, element, i);
}