setTextWidthRatio method

TextStyle setTextWidthRatio(
  1. int ratio
)

设置打印文本的横向放大倍数

Implementation

TextStyle setTextWidthRatio(int ratio) {
  textFormat.textWidthRatio = ratio;
  return this;
}