UniPRT SDK v1.0.0.0
 
载入中...
搜索中...
未找到
_PglBox.h
1//
2// _PglBox.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/24.
6//
7
8#ifndef _PglBox_h
9#define _PglBox_h
10
11#import <Foundation/Foundation.h>
12
13#import <UniPRT/IBox.h>
14#import <UniPRT/IPoint.h>
15#import <UniPRT/PrintPlane.h>
16#import <UniPRT/Defaults.h>
17#import <UniPRT/Point.h>
18#import <UniPRT/PglBox.h>
19
45@interface _PglBox : NSObject <IBox>
46
57@property (nonatomic, strong) id<IRuler> ruler;
58
69@property (nonatomic, strong) id<IPoint> start;
70
81@property (nonatomic, strong) id<IPoint> end;
82
93@property (nonatomic) float lineThickness;
94
105@property (nonatomic) float cornerRounding;
106
132- (instancetype)initWithStart:(id<IPoint>)start end:(id<IPoint>)end lineThickness:(float)lineThickness;
133
165- (instancetype)initWithXStart:(float)xStart yStart:(float)yStart xEnd:(float)xEnd yEnd:(float)yEnd lineThickness:(float)lineThickness;
166
183- (NSString *)description;
184
185@end
186
187#endif /* _PglBox_h */
表示一个盒子形状的类。
Definition _PglBox.h:45
NSString * description()
返回描述接收者内容的字符串。
id< IPoint > start
盒子的起始点。
Definition _PglBox.h:69
id< IRuler > ruler
用于测量盒子的尺子。
Definition _PglBox.h:57
float lineThickness
盒子线条的厚度。
Definition _PglBox.h:93
id< IPoint > end
盒子的结束点。
Definition _PglBox.h:81
float cornerRounding
盒子角落的圆角半径。
Definition _PglBox.h:105
定义盒子类接口的协议。
Definition IBox.h:32