diff options
author | Wout <wout@impinc.co.uk> | 2014-09-05 16:52:05 +0200 |
---|---|---|
committer | Wout <wout@impinc.co.uk> | 2014-09-05 16:52:05 +0200 |
commit | 816583486cce9df43c52bc51be7adeb58d0496ca (patch) | |
tree | d41e2cbfdf42eda40d7f84f7ac514fa15d3b4dc3 | |
parent | 04c734f0fc6c03c20d471c560f2ad8dba3d65b83 (diff) | |
parent | 782ef08c33e6ddbf451c459af9c227be02b6f23a (diff) | |
download | svg.js-816583486cce9df43c52bc51be7adeb58d0496ca.tar.gz svg.js-816583486cce9df43c52bc51be7adeb58d0496ca.zip |
Merge pull request #237 from peteruithoven/Move-doc-fix
Better explanation for Array.move()
-rwxr-xr-x | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2952,10 +2952,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' ``` |