From: wout Date: Sun, 23 Dec 2012 11:38:43 +0000 (+0100) Subject: Updated readme X-Git-Tag: 0.2~74 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f6349a83dbcba25da1105c0e8ac10293e808c18;p=svg.js.git Updated readme --- diff --git a/README.md b/README.md index 9cb17d9..abff528 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 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