表示 QR 碼條碼的類。 更多...
公開方法(Public Methods) | |
| __init__ (self, IPoint start, data="", Optional[List[List[Union[int, str]]]] data_manually_encoded=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 |
表示 QR 碼條碼的類。
此類繼承自 AQRBarcode,並提供了用於初始化、配置和描述 QR 碼條碼的功能。 QR 碼條碼可以配置為自動或手動編碼模式以及不同的糾錯級別。
| LabelMaker.PGL.QRBarcode.QRBarcode.__init__ | ( | self, | |
| IPoint | start, | ||
| data = "", | |||
| Optional[List[List[Union[int, str]]]] | data_manually_encoded = None ) |
使用指定的起始點、數據和手動編碼數據(可選)初始化 QRBarcode 類的新實例。
此構造函數使用提供的起始點、數據和可選的手動編碼數據設置一個新的 QRBarcode 對象。 數據代表要在 QR 碼條碼中編碼的信息。
| start | QR 碼的起始點。 |
| data | 要在 QR 碼中編碼的數據。 |
| data_manually_encoded | 用於 QR 碼的手動編碼數據點數組。 |
| str LabelMaker.PGL.QRBarcode.QRBarcode.__str__ | ( | self | ) |
返回一個可以發送到打印機的字符串。
此方法生成 QRBarcode 實例的字符串表示形式,該字符串已格式化並準備發送到打印機。 字符串包括在 PGL 中打印所需的所有命令和數據。
| LabelMaker.PGL.QRBarcode.QRBarcode.data |
| LabelMaker.PGL.QRBarcode.QRBarcode.data_manually_encoded |
| LabelMaker.PGL.QRBarcode.QRBarcode.start |