drawText abstract method

dynamic drawText(
  1. String? text,
  2. PrinterOffset offset,
  3. PrinterSize size,
  4. PrinterTextStyle textStyle,
)

打印文字

text 内容

offset 偏移位置

size 大小

textStyle 文字样式

Implementation

drawText(String? text, PrinterOffset offset, PrinterSize size,
    PrinterTextStyle textStyle);