Loading...
Searching...
No Matches
NCRectangle.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import <Foundation/Foundation.h>
3
24DEFAULT_EXPORT_ATTRIBUTE
25@interface NCRectangle : NSObject
26
30- (nonnull instancetype)initWithX:(int32_t)x
31 y:(int32_t)y
32 width:(int32_t)width
33 height:(int32_t)height;
34
38+ (nonnull instancetype)rectangleWithX:(int32_t)x
39 y:(int32_t)y
40 width:(int32_t)width
41 height:(int32_t)height;
42
48@property (nonatomic, readonly) int32_t x;
49
54@property (nonatomic, readonly) int32_t y;
55
61@property (nonatomic, readonly) int32_t width;
62
68@property (nonatomic, readonly) int32_t height;
69
70@end