summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWout <wout@impinc.co.uk>2014-09-05 16:52:05 +0200
committerWout <wout@impinc.co.uk>2014-09-05 16:52:05 +0200
commit816583486cce9df43c52bc51be7adeb58d0496ca (patch)
treed41e2cbfdf42eda40d7f84f7ac514fa15d3b4dc3
parent04c734f0fc6c03c20d471c560f2ad8dba3d65b83 (diff)
parent782ef08c33e6ddbf451c459af9c227be02b6f23a (diff)
downloadsvg.js-816583486cce9df43c52bc51be7adeb58d0496ca.tar.gz
svg.js-816583486cce9df43c52bc51be7adeb58d0496ca.zip
Merge pull request #237 from peteruithoven/Move-doc-fix
Better explanation for Array.move()
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b28ae41..f115099 100755
--- a/README.md
+++ b/README.md
@@ -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'
```