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
25DEFAULT_EXPORT_ATTRIBUTE
26@interface NCCamera : NSObject
27
31- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
32 zoom:(float)zoom
33 rotation:(float)rotation;
34
38+ (nonnull instancetype)cameraWithPoint:(nonnull NCPoint *)point
39 zoom:(float)zoom
40 rotation:(float)rotation;
41
45@property (nonatomic, readonly, nonnull) NCPoint * point;
46
50@property (nonatomic, readonly) float zoom;
51
56@property (nonatomic, readonly) float rotation;
57
58@end