UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
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 */
A class representing a picture object in TSPL.
Definition TsplPicture.h:48
NSString * ImageName
The image name associated with the picture.
Definition TsplPicture.h:72
NSString * description()
Converts the picture object to a TSPL command string.
id< IRuler > Iuler
The ruler object used for positioning or scaling.
Definition TsplPicture.h:84
id< IPoint > Start
The starting position of the picture.
Definition TsplPicture.h:60
The picture interface used for placing an image on the label.
Definition IPicture.h:25