fix clip bug

This commit is contained in:
Horcrux
2016-05-21 16:21:54 +08:00
parent 85ab1c67c5
commit 404bdf3782
11 changed files with 114 additions and 78 deletions

View File

@@ -49,6 +49,14 @@ class ClipPathAttr extends Component{
height="100"
fill="url(#grad)"
clipPath="M50,5L20,99L95,39L5,39L80,99z"
onStartShouldSetResponder={() => alert("1111111")}
/>
<Rect
x="40%"
y="0"
width="20%"
height="20%"
fill="pink"
/>
</Svg>;
}