summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeteruithoven <peter@peteruithoven.nl>2014-07-29 12:47:57 +0200
committerpeteruithoven <peter@peteruithoven.nl>2014-07-29 12:47:57 +0200
commit782ef08c33e6ddbf451c459af9c227be02b6f23a (patch)
tree0fb417cf8772fade6d57ca053c372a1438957dc9
parentbb0e6be2da0cea98c5303871c0be055f5f70d7a9 (diff)
downloadsvg.js-782ef08c33e6ddbf451c459af9c227be02b6f23a.tar.gz
svg.js-782ef08c33e6ddbf451c459af9c227be02b6f23a.zip
Better explanation for Array.move()
(Copied most from Manipulating elements move() explanation)
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a6546c7..ed08b53 100755
--- a/README.md
+++ b/README.md
@@ -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'
```