表示 TSPL 的 QR 碼條形碼的類。 更多...
公開方法(Public Methods) | |
| __init__ (self, Optional[Points] start=None, Optional[str] data=None, Optional[List[List[Union[QRCodeManualEncodingEnum, str]]]] manually_encoded_data=None) | |
| 初始化 QRBarcode 類的新實例。 | |
| str | __str__ (self) |
| 返回一個可以發送到打印機的字符串。 | |
額外的繼承成員 | |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| IPoint | start |
| str | data |
| List | data_manually_encoded [List[str]] |
| QRCodeMaskEnum | mask |
| QRCodeModelEnum | model |
| QRCodeErrorCorrectionEnum | error_correction |
| ICellSquare | cell_size |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D | |
| IPoint | start |
| str | data |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.IPositionRuler | |
| IRuler | ruler |
靜態公開屬性 繼承自 LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
靜態公開屬性 繼承自 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 |