UniPRT SDK v1.0.0.0
 
载入中...
搜索中...
未找到
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode类 参考

QR Code 2D条形码的基类。 更多...

类 LabelMaker.Interfaces.IBcdQRCode.AQRBarcode 继承关系图:
LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.ISquareCell LabelMaker.Interfaces.IBarcode2D.IBarcode2D LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D LabelMaker.Interfaces.IBarcode2D.IPositionRuler LabelMaker.Interfaces.ISettings.IRotation LabelMaker.PGL.QRBarcode.QRBarcode LabelMaker.TSPL.QRBarcode.QRBarcode

Public 成员函数

 __init__ (self, IPoint start, Optional[str] data=None, Optional[List[List[str]]] manually_encoded_data=None)
 初始化具有起始点和可选数据的QR Code。
 
- Public 成员函数 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
str __str__ (self)
 

Public 属性

 data_manually_encoded
 
 mask
 
 model
 
 error_correction
 
 cell_size
 
- Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 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
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D
IPoint start
 
str data
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.ISettings.IRotation
RotateEnum rotation
 
- 静态 Public 属性 继承自 LabelMaker.Interfaces.IBarcode2D.ISquareCell
ICellSquare cell_size
 

详细描述

QR Code 2D条形码的基类。

QR条形码中编码的数据可以是自动编码或手动编码。除非需要优化存储在条形码中的数据量,否则应使用自动编码。

构造及析构函数说明

◆ __init__()

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.__init__ ( self,
IPoint start,
Optional[str] data = None,
Optional[List[List[str]]] manually_encoded_data = None )

初始化具有起始点和可选数据的QR Code。

此构造函数使用指定的起始点和可选的数据内容初始化QR Code。 它允许自动和手动编码的数据。如果没有提供数据,则使用空字符串。 应用掩码、模型、错误校正和单元格大小的默认设置。

参数
startQR码的起始点或位置。
data可选的要编码在QR码中的数据。
manually_encoded_data可选的,QR码的手动编码数据。

重载 LabelMaker.Interfaces.IBarcode2D.ABarcode2D .

LabelMaker.PGL.QRBarcode.QRBarcode , 以及 LabelMaker.TSPL.QRBarcode.QRBarcode 重载.

类成员变量说明

◆ cell_size [1/2]

ICellSquare LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.cell_size
static

◆ cell_size [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.cell_size

◆ data

str LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data
static

◆ data_manually_encoded [1/2]

List LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data_manually_encoded [List[str]]
static

◆ data_manually_encoded [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data_manually_encoded

◆ error_correction [1/2]

QRCodeErrorCorrectionEnum LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.error_correction
static

◆ error_correction [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.error_correction

◆ mask [1/2]

QRCodeMaskEnum LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.mask
static

◆ mask [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.mask

◆ model [1/2]

QRCodeModelEnum LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.model
static

◆ model [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.model

◆ start

IPoint LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.start
static

该类的文档由以下文件生成: