drawLine method
打印线条
offset
偏移位置
size
大小
Implementation
@override
drawLine(PrinterOffset offset, PrinterSize size) {
addCommand(
"BAR ${offset.x!.toInt()},${offset.y!.toInt()},${size.width!.toInt()},${size.height!.toInt()}");
}
打印线条
offset
偏移位置
size
大小
@override
drawLine(PrinterOffset offset, PrinterSize size) {
addCommand(
"BAR ${offset.x!.toInt()},${offset.y!.toInt()},${size.width!.toInt()},${size.height!.toInt()}");
}