drawBarCode abstract method

dynamic drawBarCode(
  1. String context,
  2. PrinterOffset offset,
  3. int height, [
  4. int lineWidth = 1,
])

打印二维码

context 内容

offset 偏移位置

height 高度

lineWidth 窄条的单位宽度,默认1

Implementation

drawBarCode(String context, PrinterOffset offset, int height,
    [int lineWidth = 1]);