mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
35 lines
857 B
Objective-C
35 lines
857 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"
|
|
|
|
@class RNSVGNode;
|
|
|
|
@interface RNSVGSvgView : UIView <RNSVGContainer>
|
|
|
|
@property (nonatomic, assign) BOOL responsible;
|
|
|
|
/**
|
|
* define <ClipPath></ClipPath> content as clipPath template.
|
|
*/
|
|
- (void)defineClipPath:(__kindof RNSVGNode *)clipPath clipPathRef:(NSString *)clipPathRef;
|
|
|
|
- (void)removeClipPath:(NSString *)clipPathRef;
|
|
|
|
- (RNSVGNode *)getDefinedClipPath:(NSString *)clipPathRef;
|
|
|
|
- (void)defineTemplate:(__kindof RNSVGNode *)template templateRef:(NSString *)templateRef;
|
|
|
|
- (void)removeTemplate:(NSString *)tempalteRef;
|
|
|
|
- (RNSVGNode *)getDefinedTemplate:(NSString *)tempalteRef;
|
|
|
|
@end
|