Loading...
Searching...
No Matches
NCRectangle.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import <Foundation/Foundation.h>
3
15DEFAULT_EXPORT_ATTRIBUTE
16@interface NCRectangle : NSObject
17
21- (nonnull instancetype)initWithX:(float)x
22 y:(float)y
23 width:(float)width
24 height:(float)height;
25
29+ (nonnull instancetype)rectangleWithX:(float)x
30 y:(float)y
31 width:(float)width
32 height:(float)height;
33
39@property (nonatomic, readonly) float x;
40
46@property (nonatomic, readonly) float y;
47
53@property (nonatomic, readonly) float width;
54
60@property (nonatomic, readonly) float height;
61
62@end