表示 QR 碼條碼的類。 更多...
公開方法(Public Methods) | |
| __init__ (self, IPoint start, data="", Optional[List[List[Union[int, str]]]] data_manually_encoded=None) | |
| 使用指定的起始點、數據和手動編碼數據(可選)初始化 QRBarcode 類的新實例。 | |
| str | __str__ (self) |
| 返回一個可以發送到打印機的字符串。 | |
公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| __init__ (self, IPoint start, Optional[str] data=None, Optional[List[List[str]]] manually_encoded_data=None) | |
| 初始化具有起始點和可選數據的QR Code。 | |
公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE) | |
| str | __str__ (self) |
公開方法(Public Methods) 繼承自 LabelMaker.Interfaces.IBarcode2D.IBarcode2D | |
| str | __str__ (self) |
額外的繼承成員 | |
公開屬性 繼承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| mask = QRCodeMaskEnum.MASK0 | |
| model = QRCodeModelEnum.MODEL2 | |
| error_correction = QRCodeErrorCorrectionEnum.CORRECTION15 | |
| cell_size = Defaults.cell_size() | |
公開屬性 繼承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start = start | |
| data = data | |
| ruler = ruler or Defaults.ruler() | |
| rotation = rotation | |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| List | data_manually_encoded [List[str]] |
表示 QR 碼條碼的類。
此類繼承自 AQRBarcode,並提供了用於初始化、配置和描述 QR 碼條碼的功能。 QR 碼條碼可以配置為自動或手動編碼模式以及不同的糾錯級別。
| LabelMaker.PGL.QRBarcode.QRBarcode.__init__ | ( | self, | |
| IPoint | start, | ||
| data = "", | |||
| Optional[List[List[Union[int, str]]]] | data_manually_encoded = None ) |
| str LabelMaker.PGL.QRBarcode.QRBarcode.__str__ | ( | self | ) |