Files
Schnappix/node_modules/react-native-svg/apple/Utils/RNSVGMarkerPosition.h
T

22 lines
581 B
Objective-C

#import <Foundation/Foundation.h>
#import "RNSVGUIKit.h"
typedef enum RNSVGMarkerType { kStartMarker, kMidMarker, kEndMarker } RNSVGMarkerType;
#define RNSVGZEROPOINT CGRectZero.origin
@interface RNSVGMarkerPosition : NSObject
// Element storage
@property (nonatomic, assign) RNSVGMarkerType type;
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) float angle;
// Instance creation
+ (instancetype)markerPosition:(RNSVGMarkerType)type origin:(CGPoint)origin angle:(float)angle;
+ (NSArray<RNSVGMarkerPosition *> *)fromCGPath:(CGPathRef)path;
@end