EngineKit
Box.h
1 
2 
3 @class Box;
4 
5 
6 @protocol BoxExport <JSExport>
7 + (instancetype)create;
8 //
9 @property (nonatomic, strong) id position;
10 @property (nonatomic, strong) id rotation;
11 @property (nonatomic, strong) id scale;
12 //
13 @property (nonatomic, strong) id color;
14 //
15 + (instancetype)box;
16 @property (nonatomic) CGFloat width;
17 @property (nonatomic) CGFloat height;
18 @property (nonatomic) CGFloat length;
19 @property (nonatomic) CGFloat chamferRadius;
20 @end
21 
22 
28 @interface Box : Shape <BoxExport>
34 + (instancetype)box;
35 
40 @property (nonatomic) CGFloat width;
45 @property (nonatomic) CGFloat height;
50 @property (nonatomic) CGFloat length;
55 @property (nonatomic) CGFloat chamferRadius;
56 @end
CGFloat width
Definition: Box.h:40
CGFloat chamferRadius
Definition: Box.h:55
CGFloat height
Definition: Box.h:45
Definition: Shape.h:10
CGFloat length
Definition: Box.h:50
Definition: Box.h:28
instancetype box()
Definition: Box.m:8
Definition: Box.h:6