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