1 /** 2 * Copyright (c) 2015-present, react-native-community. 3 * All rights reserved. 4 * 5 * This source code is licensed under the MIT-style license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8 9 #import "RNSVGUIKit.h" 10 11 @interface RNSVGPathMeasure : NSObject 12 13 @property CGFloat pathLength; 14 @property CGPathRef path; 15 @property NSMutableArray *lengths; 16 @property NSMutableArray *lines; 17 @property NSUInteger lineCount; 18 @property BOOL isClosed; 19 20 - (void)reset; 21 - (void)extractPathData:(CGPathRef)path; 22 - (void)getPosAndTan:(CGFloat *)angle midPoint:(CGFloat)midPoint x:(CGFloat *)x y:(CGFloat *)y; 23 24 @end 25