QR Code 2D條碼的基類。 更多...
公開方法(Public Methods) | |
__init__ (self, IPoint start, Optional[str] data=None, Optional[List[List[str]]] manually_encoded_data=None) | |
初始化具有起始點和可選數據的QR Code。 | |
![]() | |
str | __str__ (self) |
公開屬性 | |
data_manually_encoded | |
mask | |
model | |
error_correction | |
cell_size | |
![]() | |
start | |
data | |
ruler | |
rotation | |
靜態公開屬性 | |
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 |