UniPRT SDK v2.0.0.0
 
载入中...
搜索中...
未找到
TsplPicture.h
1//
2// TsplPicture.h
3// UniPRT
4//
5// Created by Realbuber on 2024/7/10.
6//
7
8#ifndef TsplPicture_h
9#define TsplPicture_h
10
11#import <Foundation/Foundation.h>
12#import <UniPRT/IPicture.h>
13#import <UniPRT/IPoint.h>
14#import <UniPRT/IRuler.h>
15#import <UniPRT/PrintPlane.h>
16#import <UniPRT/TsplCmd.h>
17#import <UniPRT/Defaults.h>
18#import <UniPRT/_Picture.h>
19
20NS_ASSUME_NONNULL_BEGIN
21
48@interface TsplPicture : NSObject <IPicture>
49
60@property (nonatomic, strong) id<IPoint> Start;
61
72@property (nonatomic, copy) NSString *ImageName;
73
84@property (nonatomic, strong) id<IRuler> Ruler;
85
108- (instancetype)initWithStart:(id<IPoint>)start imageName:(NSString *)imageName;
109
126- (NSString *)description;
127
128@end
129
130NS_ASSUME_NONNULL_END
131
132#endif /* TsplPicture_h */
表示放置在標籤上的圖片(點陣圖),使用 TSPL 指令。
定义 TsplPicture.h:48
NSString * ImageName
圖片資源名稱。
定义 TsplPicture.h:72
NSString * description()
將圖片物件轉換為 TSPL 指令字串。
id< IRuler > Ruler
用於定位或縮放的尺規物件。
定义 TsplPicture.h:84
id< IPoint > Start
圖片的起始位置。
定义 TsplPicture.h:60
用于在標籤上放置圖像的圖片介面。
定义 IPicture.h:25