newsmemory-ios-sdk/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/Headers/RNSVGMarkerPosition.h

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