mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-03 07:06:04 +00:00
complete ClipPath refactor
This commit is contained in:
@@ -10,16 +10,16 @@
|
||||
|
||||
@implementation RNSVGClipPath
|
||||
|
||||
- (void)saveDefination:(CGContextRef)context
|
||||
{
|
||||
[[self getSvgView] defineClipPath:[self getPath:context] clipPathRef:self.name];
|
||||
}
|
||||
|
||||
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)saveDefination:(CGContextRef)context
|
||||
{
|
||||
[[self getSvgView] defineClipPath:self clipPathRef:self.name];
|
||||
}
|
||||
|
||||
- (void)removeDefination
|
||||
{
|
||||
if (self.name) {
|
||||
|
||||
Reference in New Issue
Block a user