1 #import <Foundation/Foundation.h>
2 
3 #import "RNSVGUIKit.h"
4 
5 typedef enum RNSVGMarkerType { kStartMarker, kMidMarker, kEndMarker } RNSVGMarkerType;
6 
7 #define RNSVGZEROPOINT CGRectZero.origin
8 
9 @interface RNSVGMarkerPosition : NSObject
10 
11 // Element storage
12 @property (nonatomic, assign) RNSVGMarkerType type;
13 @property (nonatomic, assign) CGPoint origin;
14 @property (nonatomic, assign) float angle;
15 
16 // Instance creation
17 + (instancetype)markerPosition:(RNSVGMarkerType)type origin:(CGPoint)origin angle:(float)angle;
18 
19 + (NSArray<RNSVGMarkerPosition *> *)fromCGPath:(CGPathRef)path;
20 
21 @end
22