1 /** 2 * Copyright (c) 2015-present, Horcrux. 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 <Foundation/Foundation.h> 10 #import "RNSVGGroup.h" 11 12 @interface RNSVGText : RNSVGGroup 13 14 @property (nonatomic, strong) RNSVGLength *inlineSize; 15 @property (nonatomic, strong) RNSVGLength *textLength; 16 @property (nonatomic, strong) NSString *baselineShift; 17 @property (nonatomic, strong) NSString *lengthAdjust; 18 @property (nonatomic, strong) NSString *alignmentBaseline; 19 @property (nonatomic, strong) NSArray<RNSVGLength *> *deltaX; 20 @property (nonatomic, strong) NSArray<RNSVGLength *> *deltaY; 21 @property (nonatomic, strong) NSArray<RNSVGLength *> *positionX; 22 @property (nonatomic, strong) NSArray<RNSVGLength *> *positionY; 23 @property (nonatomic, strong) NSArray<RNSVGLength *> *rotate; 24 25 - (CGPathRef)getGroupPath:(CGContextRef)context; 26 - (CTFontRef)getFontFromContext; 27 - (CGFloat)getSubtreeTextChunksTotalAdvance; 28 - (RNSVGText *)getTextAnchorRoot; 29 30 @end 31