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> Iuler;
85
108- (instancetype)initWithStart:(id<IPoint>)start imageName:(NSString *)imageName;
109
133- (NSString *)description;
134
135@end
136
137NS_ASSUME_NONNULL_END
138
139#endif /* TsplPicture_h */
表示 TSPL 中圖片物件的類。
定义 TsplPicture.h:48
NSString * ImageName
與圖片相關聯的圖片名稱。
定义 TsplPicture.h:72
NSString * description()
將圖片物件轉換為 TSPL 指令字串。
id< IRuler > Iuler
用於定位或縮放的尺規物件。
定义 TsplPicture.h:84
id< IPoint > Start
圖片的起始位置。
定义 TsplPicture.h:60
用于在標籤上放置圖像的圖片介面。
定义 IPicture.h:25