diff options
author | wout <wout@impinc.co.uk> | 2012-12-23 12:40:09 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-23 12:40:09 +0100 |
commit | 6e2d46d1369426986defbecbbb5febeec1b25e90 (patch) | |
tree | ce1ba875f6654d5c37974970dbcb1471db8ef6a6 | |
parent | 2f6349a83dbcba25da1105c0e8ac10293e808c18 (diff) | |
download | svg.js-6e2d46d1369426986defbecbbb5febeec1b25e90.tar.gz svg.js-6e2d46d1369426986defbecbbb5febeec1b25e90.zip |
Updated readme
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |