Move d parsing to native side(iOS)

This commit is contained in:
Horcrux
2017-01-07 09:22:52 +08:00
parent 0a6dc56b68
commit 293263d6ef
8 changed files with 423 additions and 60 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
import SerializablePath from '../SerializablePath';
import clipReg from './patternReg';
const clipRules = {
@@ -18,7 +17,7 @@ export default function (props) {
if (matched) {
clippingProps.clipPathRef = matched[1];
} else {
clippingProps.clipPath = new SerializablePath(clipPath).toJSON();
clippingProps.clipPath = clipPath;
}
}