11#import <Foundation/Foundation.h>
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>
57@property (nonatomic, strong) id<IRuler>
ruler;
69@property (nonatomic, strong) id<IPoint>
start;
81@property (nonatomic, strong) id<IPoint>
end;
132- (instancetype)initWithStart:(
id<IPoint>)start end:(
id<IPoint>)end lineThickness:(
float)lineThickness;
165- (instancetype)initWithXStart:(
float)xStart yStart:(
float)yStart xEnd:(
float)xEnd yEnd:(
float)yEnd lineThickness:(
float)lineThickness;
表示一个盒子形状的类。
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