update doc about Text alignment

This commit is contained in:
Horcrux
2016-05-13 12:00:27 +08:00
parent cf8fb43317
commit 159867827c
+2 -2
View File
@@ -345,7 +345,7 @@ The <Text> element is used to define a text.
fontWeight="bold"
x="100"
y="20"
alignment="center"
textAnchor="middle"
>STROKED TEXT</Text>
</Svg>
```
@@ -387,7 +387,7 @@ The <G> element is a container used to group other SVG elements. Transformations
y="75"
stroke="#600"
fill="#600"
textAnchor="center"
textAnchor="middle"
>
Text grouped with shapes</Text>
</G>