From 159867827c11b58abe088da43fa7b309eff3a267 Mon Sep 17 00:00:00 2001 From: Horcrux Date: Fri, 13 May 2016 12:00:27 +0800 Subject: [PATCH] update doc about Text alignment --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0bdee221..a56b12fb 100644 --- a/README.md +++ b/README.md @@ -345,7 +345,7 @@ The element is used to define a text. fontWeight="bold" x="100" y="20" - alignment="center" + textAnchor="middle" >STROKED TEXT ``` @@ -387,7 +387,7 @@ The 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