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