Loading...
Searching...
No Matches
NCScreenRect.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import <Foundation/Foundation.h>
3#import <UIKit/UIKit.h>
4
22DEFAULT_EXPORT_ATTRIBUTE
23@interface NCScreenRect : NSObject
24
28- (nonnull instancetype)initWithTopLeft:(CGPoint)topLeft
29 bottomRight:(CGPoint)bottomRight;
30
34+ (nonnull instancetype)screenRectWithTopLeft:(CGPoint)topLeft
35 bottomRight:(CGPoint)bottomRight;
36
40@property (nonatomic, readonly) CGPoint topLeft;
41
45@property (nonatomic, readonly) CGPoint bottomRight;
46
47@end