Loading...
Searching...
No Matches
NCCamera.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCPoint.h"
3#import <Foundation/Foundation.h>
4
16DEFAULT_EXPORT_ATTRIBUTE
17@interface NCCamera : NSObject
18
22- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
23 zoom:(float)zoom
24 rotation:(float)rotation;
25
29+ (nonnull instancetype)cameraWithPoint:(nonnull NCPoint *)point
30 zoom:(float)zoom
31 rotation:(float)rotation;
32
36@property (nonatomic, readonly, nonnull) NCPoint * point;
37
41@property (nonatomic, readonly) float zoom;
42
47@property (nonatomic, readonly) float rotation;
48
49@end