UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
_Line.h
1//
2// Line.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/16.
6//
7
8#ifndef _Line_h
9#define _Line_h
10
11#import <Foundation/Foundation.h>
12#import <UniPRT/ALine.h>
13#import <UniPRT/IPoint.h>
14#import <UniPRT/PrintPlane.h>
15#import <UniPRT/Defaults.h>
16#import <UniPRT/Point.h>
17#import <UniPRT/Line.h>
18
44@interface _Line : ALine
45
71- (instancetype)initWithStart:(id<IPoint>)start end:(id<IPoint>)end lineThickness:(float)lineThickness;
72
104- (instancetype)initWithXStart:(float)xStart yStart:(float)yStart xEnd:(float)xEnd yEnd:(float)yEnd lineThickness:(float)lineThickness;
105
132- (NSString *)description;
133
134@end
135
136#endif /* _Line_h */
A class representing a line object for TSPL.
Definition _Line.h:45
NSString * description()
Returns a string that can be sent to the printer.
Base class for lines.
Definition ALine.h:34