From: wout Date: Sun, 23 Dec 2012 11:40:09 +0000 (+0100) Subject: Updated readme X-Git-Tag: 0.2~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e2d46d1369426986defbecbbb5febeec1b25e90;p=svg.js.git Updated readme --- diff --git a/README.md b/README.md index abff528..eebf44b 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ Note that you can also use the following code to move elements around: ```javascript rect.attr({ x: 20, y: 60 }); ``` -Although 'move()' is much more convenient because it will always use the upper left corner as the position reference, whereas with using 'attr()' the x an y reference differ between element types. For example, rect uses the upper left corner with the 'x' and 'y' attributes, circle and ellipse use their centre with the 'cx' and 'cy' attributes. +Although 'move()' is much more convenient because it will always use the upper left corner as the position reference, whereas with using 'attr()' the x an y reference differ between element types. For example, rect uses the upper left corner with the 'x' and 'y' attributes, circle and ellipse use their centre with the 'cx' and 'cy' attributes and thereby simply ignoring the 'x' and 'y' values you might assign. ### Size