表示用于 TSPL 的 Maxicode 条码的类。 更多...
#include <MaxicodeBarcode.h>
构造函数 | |
| (instancetype) | - initWithStart:data: |
| 使用指定的起始点和数据初始化 MaxicodeBarcode 类的新实例。 | |
| (NSString *) | - description |
| 返回可以发送到印表机的字符串。 | |
构造函数 继承自 AMaxicodeBarcode | |
| (instancetype) | - init |
属性 | |
| id< IPoint > | start |
| 条码的起始点。 | |
| id< IMaxicodeData > | data |
| 要在条码中编码的数据。 | |
| RotateEnum | rotation |
| 条码的旋转角度。 | |
| BOOL | zipperPattern |
| 拉链图案可用于帮助检测打印缺陷,例如浅色/深色打印。 | |
属性 继承自 AMaxicodeBarcode | |
| id< IMaxicodeData > | data |
| id< IRuler > | ruler |
| id< IPoint > | start |
属性 继承自 <IMaxicodeBarcode> | |
| id< IMaxicodeData > | data |
| 条码内容。 | |
属性 继承自 <IStartPoint> | |
| id< IPoint > | start |
属性 继承自 <IPositionRuler> | |
| id< IRuler > | ruler |
属性 继承自 <IRotation> | |
| RotateEnum | rotation |
表示用于 TSPL 的 Maxicode 条码的类。
该类继承自 AMaxicodeBarcode 并实现了 IRotation 协议, 提供了在 TSPL 中初始化和描述 Maxicode 条码的功能。
| - (NSString *) description |
返回可以发送到印表机的字符串。
该方法生成 MaxicodeBarcode 实例的字符串表示形式, 格式化并准备好发送到印表机。字符串包括在 TSPL 中打印所需的所有命令和数据。
重载 <IMaxicodeBarcode> .
| - (instancetype) initWithStart: | (id< IPoint >) | start | |
| data: | (id< IMaxicodeData >) | data |
使用指定的起始点和数据初始化 MaxicodeBarcode 类的新实例。
| start | 条码的起始点。 |
| data | 要在条码中编码的数据。 |
实现了 AMaxicodeBarcode.
|
readwritenonatomicstrong |
要在条码中编码的数据。
|
readwritenonatomicassign |
条码的旋转角度。
|
readwritenonatomicstrong |
条码的起始点。
|
readwritenonatomicassign |
拉链图案可用于帮助检测打印缺陷,例如浅色/深色打印。