Files
react-native-svg/apple/Text/RNSVGText.h
Wojciech Lewicki 98c14b4f45 chore: add CI for JS, iOS and Android formatting (#1782)
Added CI workflow and local pre-commit hook for formatting and linting the newly added JS, iOS and Android code.
2022-08-16 12:00:32 +02:00

31 lines
1.0 KiB
Objective-C

/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#import "RNSVGGroup.h"
@interface RNSVGText : RNSVGGroup
@property (nonatomic, strong) RNSVGLength *inlineSize;
@property (nonatomic, strong) RNSVGLength *textLength;
@property (nonatomic, strong) NSString *baselineShift;
@property (nonatomic, strong) NSString *lengthAdjust;
@property (nonatomic, strong) NSString *alignmentBaseline;
@property (nonatomic, strong) NSArray<RNSVGLength *> *deltaX;
@property (nonatomic, strong) NSArray<RNSVGLength *> *deltaY;
@property (nonatomic, strong) NSArray<RNSVGLength *> *positionX;
@property (nonatomic, strong) NSArray<RNSVGLength *> *positionY;
@property (nonatomic, strong) NSArray<RNSVGLength *> *rotate;
- (CGPathRef)getGroupPath:(CGContextRef)context;
- (CTFontRef)getFontFromContext;
- (CGFloat)getSubtreeTextChunksTotalAdvance;
- (RNSVGText *)getTextAnchorRoot;
@end