UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
_Text.h
1//
2// _Text.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/16.
6//
7
8#ifndef _Text_h
9#define _Text_h
10
11#import <Foundation/Foundation.h>
12#import <UniPRT/AText.h>
13#import <UniPRT/FontSize.h>
14#import <UniPRT/PrintPlane.h>
15#import <UniPRT/Alphanumeric.h>
16#import <UniPRT/Translate.h>
17#import <UniPRT/FontStyleEnum.h>
18#import <UniPRT/FontSizeUnitsEnum.h>
19#import <UniPRT/TSPL.h>
20#import <UniPRT/Defaults.h>
21#import <UniPRT/Font.h>
22
48@interface _Text : AText
49
66- (instancetype)init;
67
87- (instancetype)initWithTextItem:(id<ITextItem>)text;
88
115- (NSString *)description;
116
127@property (nonatomic, assign) TSPLReferencePoint referencePoint;
128
139@property (nonatomic, assign) BOOL reverse;
140
141@end
142
143#endif /* _Text_h */
A class representing a text object for TSPL.
Definition _Text.h:49
instancetype init()
Initializes a new instance of the _Text class.
TSPLReferencePoint referencePoint
The reference point for the text in TSPL.
Definition _Text.h:127
NSString * description()
Returns a string that can be sent to the printer.
BOOL reverse
A flag indicating whether the text should be printed in reverse.
Definition _Text.h:139
Base class for AText.
Definition AText.h:29