Loading...
Searching...
No Matches
NCPointSprite.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCGlobalPoint.h"
3#import <Foundation/Foundation.h>
4#import <UIKit/UIKit.h>
5
18DEFAULT_EXPORT_ATTRIBUTE
19@interface NCPointSprite : NSObject
20
24- (nonnull instancetype)initWithPosition:(nonnull NCGlobalPoint *)position
25 heading:(float)heading
26 color:(nonnull UIColor *)color
27 size:(float)size;
28
32+ (nonnull instancetype)pointSpriteWithPosition:(nonnull NCGlobalPoint *)position
33 heading:(float)heading
34 color:(nonnull UIColor *)color
35 size:(float)size;
36
37@property (nonatomic, readonly, nonnull) NCGlobalPoint * position;
38
42@property (nonatomic, readonly) float heading;
43
44@property (nonatomic, readonly, nonnull) UIColor * color;
45
49@property (nonatomic, readonly) float size;
50
51@end