diff options
author | peteruithoven <peter@peteruithoven.nl> | 2014-07-29 12:47:57 +0200 |
---|---|---|
committer | peteruithoven <peter@peteruithoven.nl> | 2014-07-29 12:47:57 +0200 |
commit | 782ef08c33e6ddbf451c459af9c227be02b6f23a (patch) | |
tree | 0fb417cf8772fade6d57ca053c372a1438957dc9 | |
parent | bb0e6be2da0cea98c5303871c0be055f5f70d7a9 (diff) | |
download | svg.js-782ef08c33e6ddbf451c459af9c227be02b6f23a.tar.gz svg.js-782ef08c33e6ddbf451c459af9c227be02b6f23a.zip |
Better explanation for Array.move()
(Copied most from Manipulating elements move() explanation)
-rwxr-xr-x | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2954,10 +2954,10 @@ Note that this method is currently not available on `SVG.PathArray` but will be __`returns`: `itself`__ ### move() -Moves geometry of the array with the given `x` and `y` values: +Moves geometry to a given `x` and `y` position by its upper left corner: ```javascript -var array = new SVG.PointArray([[0, 0], [100, 100]]) +var array = new SVG.PointArray([[10, 10], [100, 100]]) array.move(33,75) array.toString() //-> returns '33,75 133,175' ``` |