UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
AAztecBarcode.h
1//
2// AAztecBarcode.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/7.
6//
7
8#ifndef AAztecBarcode_h
9#define AAztecBarcode_h
10
11#import <Foundation/Foundation.h>
12
13#import <UniPRT/ABarcode2D.h>
14#import <UniPRT/ISquareCell.h>
15#import <UniPRT/AztecCodeTypeEnum.h>
16
34
45@property (nonatomic, strong) id<ICellSquare> cellSize;
46
57@property (nonatomic, assign) AztecCodeTypeEnum type;
58
87@property (nonatomic, assign) int layers;
88
105@property (nonatomic, assign) int fixedErrCorrection;
106
117- (instancetype)init;
118
141- (instancetype)initWithStart:(id<IPoint>)start data:(NSString *)data NS_DESIGNATED_INITIALIZER;
142
160
177- (BOOL)hasLayers;
178
196
197@end
198
199#endif /* AAztecBarcode_h */
Aztec 條形碼類型/格式。
Aztec 2D 條形碼的基類。
Definition AAztecBarcode.h:33
instancetype init()
初始化 AAztecBarcode 類的新實例。
int getErrCorrectionPercent()
獲取錯誤更正百分比。
AztecCodeTypeEnum type
Aztec 條形碼的類型。
Definition AAztecBarcode.h:57
int layers
AztecCodeTypeEnum.Compact 或 AztecCodeTypeEnum.Full 條形碼類型使用的層數。
Definition AAztecBarcode.h:87
int getLayersWithinRange()
獲取有效範圍內的層數。
id< ICellSquare > cellSize
條形碼的單元格大小。
Definition AAztecBarcode.h:45
BOOL hasLayers()
檢查條形碼是否有層。
int fixedErrCorrection
此百分比錯誤更正值僅適用於 AztecCodeTypeEnum.FixedErrCorrection。
Definition AAztecBarcode.h:105
ABarcode2D 條碼的基類。
Definition ABarcode2D.h:31
定義正方形單元類接口的協議。
Definition ISquareCell.h:30