getLyricTextAligin method

TextAlign getLyricTextAligin()

单行铺满后的居中方式

Implementation

TextAlign getLyricTextAligin() {
  switch (getLyricHorizontalAlign()) {
    case LyricAlign.LEFT:
      return TextAlign.left;
    case LyricAlign.RIGHT:
      return TextAlign.right;
    case LyricAlign.CENTER:
      return TextAlign.center;
  }
}