QR Code 2D条形码的基类。 更多...
Public 成员函数 | |
__init__ (self, IPoint start, Optional[str] data=None, Optional[List[List[str]]] manually_encoded_data=None) | |
初始化具有起始点和可选数据的QR Code。 | |
![]() | |
str | __str__ (self) |
Public 属性 | |
data_manually_encoded | |
mask | |
model | |
error_correction | |
cell_size | |
![]() | |
start | |
data | |
ruler | |
rotation | |
静态 Public 属性 | |
IPoint | start |
str | data |
List | data_manually_encoded [List[str]] |
QRCodeMaskEnum | mask |
QRCodeModelEnum | model |
QRCodeErrorCorrectionEnum | error_correction |
ICellSquare | cell_size |
![]() | |
IPoint | start |
str | data |
![]() | |
IRuler | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
ICellSquare | cell_size |
QR Code 2D条形码的基类。
QR条形码中编码的数据可以是自动编码或手动编码。除非需要优化存储在条形码中的数据量,否则应使用自动编码。
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.__init__ | ( | self, | |
IPoint | start, | ||
Optional[str] | data = None, | ||
Optional[List[List[str]]] | manually_encoded_data = None ) |
初始化具有起始点和可选数据的QR Code。
此构造函数使用指定的起始点和可选的数据内容初始化QR Code。 它允许自动和手动编码的数据。如果没有提供数据,则使用空字符串。 应用掩码、模型、错误校正和单元格大小的默认设置。
start | QR码的起始点或位置。 |
data | 可选的要编码在QR码中的数据。 |
manually_encoded_data | 可选的,QR码的手动编码数据。 |
重载 LabelMaker.Interfaces.IBarcode2D.ABarcode2D .
被 LabelMaker.PGL.QRBarcode.QRBarcode , 以及 LabelMaker.TSPL.QRBarcode.QRBarcode 重载.
|
static |
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.cell_size |
|
static |
|
static |
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data_manually_encoded |
|
static |
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.error_correction |
|
static |
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.mask |
|
static |
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.model |
|
static |