表示 TSPL 的 QR 码条形码的类。 更多...
Public 成员函数 | |
| __init__ (self, Optional[Points] start=None, Optional[str] data=None, Optional[List[List[Union[QRCodeManualEncodingEnum, str]]]] manually_encoded_data=None) | |
| 初始化 QRBarcode 类的新实例。 | |
| str | __str__ (self) |
| 返回一个可以发送到印表机的字符串。 | |
Public 属性 | |
| start | |
| data | |
| data_manually_encoded | |
Public 属性 继承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| data_manually_encoded | |
| mask | |
| model | |
| error_correction | |
| cell_size | |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start | |
| data | |
| ruler | |
| rotation | |
额外继承的成员函数 | |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| IPoint | start |
| str | data |
| List | data_manually_encoded [List[str]] |
| QRCodeMaskEnum | mask |
| QRCodeModelEnum | model |
| QRCodeErrorCorrectionEnum | error_correction |
| ICellSquare | cell_size |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D | |
| IPoint | start |
| str | data |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IPositionRuler | |
| IRuler | ruler |
静态 Public 属性 继承自 LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ISquareCell | |
| ICellSquare | cell_size |
表示 TSPL 的 QR 码条形码的类。
该类继承自 AQRBarcode,并提供了在 TSPL 中初始化和描述 QR 码条形码的功能。
| LabelMaker.TSPL.QRBarcode.QRBarcode.__init__ | ( | self, | |
| Optional[Points] | start = None, | ||
| Optional[str] | data = None, | ||
| Optional[ List[List[Union[QRCodeManualEncodingEnum, str]]] ] | manually_encoded_data = None ) |
初始化 QRBarcode 类的新实例。
| start | QR 码的起始点。 |
| data | 要编码在 QR 码中的数据。 |
| manually_encoded_data | QR 码的手动编码数据点数组。 |
| str LabelMaker.TSPL.QRBarcode.QRBarcode.__str__ | ( | self | ) |
返回一个可以发送到印表机的字符串。
该方法生成 QRBarcode 实例的字符串表示形式,已格式化并准备好发送到印表机。字符串包括所有在 TSPL 中打印所需的命令和数据。
| LabelMaker.TSPL.QRBarcode.QRBarcode.data |
| LabelMaker.TSPL.QRBarcode.QRBarcode.data_manually_encoded |
| LabelMaker.TSPL.QRBarcode.QRBarcode.start |