Files
react-native-svg/ios/Elements/RNSVGSvgView.h
2016-06-11 09:38:20 +08:00

27 lines
620 B
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 <UIKit/UIKit.h>
#import "RNSVGContainer.h"
@interface RNSVGSvgView : UIView <RNSVGContainer>
@property (nonatomic, assign) BOOL responsible;
/**
* define <ClipPath></ClipPath> content as clipPath template.
*/
- (void)defineClipPath:(CGPathRef)clipPath clipPathId:(NSString *)clipPathId;
- (void)removeClipPath:(NSString *)clipPathId;
- (CGPathRef)getDefinedClipPath:(NSString *)clipPathId;
@end