表示 QR 码条形码的类。 更多...
Public 成员函数 | |
| __init__ (self, IPoint start, data="", Optional[List[List[Union[int, str]]]] data_manually_encoded=None) | |
| 使用指定的起始点、数据和手动编码数据(可选)初始化 QRBarcode 类的新实例。 | |
| str | __str__ (self) |
| 返回一个可以发送到打印机的字符串。 | |
Public 成员函数 继承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| __init__ (self, IPoint start, Optional[str] data=None, Optional[List[List[str]]] manually_encoded_data=None) | |
| 初始化具有起始点和可选数据的QR Code。 | |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE) | |
| str | __str__ (self) |
Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcode2D | |
| str | __str__ (self) |
额外继承的成员函数 | |
Public 属性 继承自 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode | |
| mask = QRCodeMaskEnum.MASK0 | |
| model = QRCodeModelEnum.MODEL2 | |
| error_correction = QRCodeErrorCorrectionEnum.CORRECTION15 | |
| cell_size = Defaults.cell_size() | |
Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D | |
| start = start | |
| data = data | |
| ruler = ruler or Defaults.ruler() | |
| rotation = rotation | |
静态 Public 属性 继承自 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 | ) |