Improve examples and document

This commit is contained in:
Horcrux
2016-07-27 11:34:42 +08:00
parent aee3038996
commit f2ee72bb76
7 changed files with 97 additions and 168 deletions

View File

@@ -67,8 +67,7 @@ class GTransform extends Component{
>
<G
rotate="50"
origin="100, 50"
scale="0.75"
origin="40, 30"
id="group"
>
<Line
@@ -97,7 +96,7 @@ class GTransform extends Component{
>
Text grouped with shapes</Text>
</G>
<Use href="#group" x="5" y="20" rotate="-50" stroke="red" opacity="0.5" />
<Use href="#group" x="5" y="40" rotate="-50" scale="0.75" stroke="red" opacity="0.5" />
</Svg>;
}
}