表示 TSPL 中 QR 碼條形碼的類。 更多...
#include <QRBarcode.h>
實體方法 | |
(instancetype) | - init |
初始化 QRBarcode 類的新實例。 | |
(instancetype) | - initWithStart:data: |
使用指定的起點和數據初始化 QRBarcode 類的新實例。 | |
(instancetype) | - initWithStart:manuallyEncodedData: |
使用指定的起點和手動編碼數據初始化 QRBarcode 類的新實例。 | |
(NSString *) | - description |
返回可以發送到打印機的字符串。 | |
![]() | |
(NSString *) | - NS_REQUIRES_SUPER |
額外的繼承成員 | |
![]() | |
id< IPoint > | start |
二維碼的起始點。 | |
NSString * | data |
自動編碼的數據。手動編碼的 DataManuallyEncoded 優先於自動編碼。 | |
NSArray< NSArray * > * | dataManuallyEncoded |
手動編碼的數據。手動編碼優先於自動編碼。 | |
QRCodeMaskEnum | mask |
用於生成二維碼的掩碼。 | |
QRCodeModelEnum | model |
二維碼的模型。 | |
QRCodeErrorCorrectionEnum | errorCorrection |
二維碼的錯誤更正級別。 | |
id< ICellSquare > | cellSize |
構成二維碼的單元格的大小。 | |
![]() | |
id< IRuler > | ruler |
id< IPoint > | start |
NSString * | data |
RotateEnum | rotation |
![]() | |
id< IPoint > | start |
條碼開始的位置。 | |
NSString * | data |
條碼的內容。 | |
![]() | |
id< IRuler > | ruler |
![]() | |
RotateEnum | rotation |
![]() | |
id< ICellSquare > | cellSize |
條碼單元大小。較大的單元大小會使條碼占用更大的面積。 | |
表示 TSPL 中 QR 碼條形碼的類。
該類繼承自 AQRBarcode,提供了在 TSPL 中初始化和描述 QR 碼條形碼的功能。
- (NSString *) description |
返回可以發送到打印機的字符串。
該方法生成 QRBarcode 實例的字符串表示形式, 格式化並準備好發送到打印機。字符串包括在 TSPL 中打印所需的所有命令和數據。
依據<IBarcode2D>重新實作.
- (instancetype) init |
- (instancetype) initWithStart: | (id< IPoint >) | start | |
data: | (NSString *) | data |
使用指定的起點和數據初始化 QRBarcode 類的新實例。
start | QR 碼的起始點。 |
data | 要在 QR 碼中編碼的數據。 |
依據AQRBarcode重新實作.
- (instancetype) initWithStart: | (id< IPoint >) | start | |
manuallyEncodedData: | (NSArray< NSArray * > *) | dataManuallyEncoded |
使用指定的起點和手動編碼數據初始化 QRBarcode 類的新實例。
start | QR 碼的起始點。 |
dataManuallyEncoded | QR 碼的手動編碼數據點數組。 |
依據AQRBarcode重新實作.