diff options
author | wout <wout@impinc.co.uk> | 2012-12-23 12:38:43 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-23 12:38:43 +0100 |
commit | 2f6349a83dbcba25da1105c0e8ac10293e808c18 (patch) | |
tree | e82c139975a281c740271a71287a321c672d6f1a | |
parent | 6bad14d2921ca74cbe7a8d18508c9f9d1b65ca47 (diff) | |
download | svg.js-2f6349a83dbcba25da1105c0e8ac10293e808c18.tar.gz svg.js-2f6349a83dbcba25da1105c0e8ac10293e808c18.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 and circle uses the centre. +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. ### Size |