Loading...
Searching...
No Matches
NCVisibleRegion.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCGlobalPoint.h"
3#import <Foundation/Foundation.h>
4
22DEFAULT_EXPORT_ATTRIBUTE
23@interface NCVisibleRegion : NSObject
24
28- (nonnull instancetype)initWithTopLeft:(nonnull NCGlobalPoint *)topLeft
29 topRight:(nonnull NCGlobalPoint *)topRight
30 bottomLeft:(nonnull NCGlobalPoint *)bottomLeft
31 bottomRight:(nonnull NCGlobalPoint *)bottomRight;
32
36+ (nonnull instancetype)visibleRegionWithTopLeft:(nonnull NCGlobalPoint *)topLeft
37 topRight:(nonnull NCGlobalPoint *)topRight
38 bottomLeft:(nonnull NCGlobalPoint *)bottomLeft
39 bottomRight:(nonnull NCGlobalPoint *)bottomRight;
40
44@property (nonatomic, readonly, nonnull) NCGlobalPoint * topLeft;
45
49@property (nonatomic, readonly, nonnull) NCGlobalPoint * topRight;
50
54@property (nonatomic, readonly, nonnull) NCGlobalPoint * bottomLeft;
55
59@property (nonatomic, readonly, nonnull) NCGlobalPoint * bottomRight;
60
61@end