aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-03-06 11:44:29 +0000
committerwout <wout@impinc.co.uk>2013-03-06 11:44:29 +0000
commit9e9d06b8c4638fe734b9c5be001417aed7845bb4 (patch)
treef3871f91ce3727ee50e90eec0dadc1d58b0b1293
parent4ac306928d6eabe49d4f29cf7f57a9be9d1a14e4 (diff)
downloadsvg.js-9e9d06b8c4638fe734b9c5be001417aed7845bb4.tar.gz
svg.js-9e9d06b8c4638fe734b9c5be001417aed7845bb4.zip
Updated README
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index ab1ee8a..0d57c54 100644
--- a/README.md
+++ b/README.md
@@ -423,7 +423,7 @@ rect.animate(3000).move(100, 100).during(function(pos) {
```
Note that `pos` is `0` in the beginning of the animation and `1` at the end of the animation.
-To make things easier for you a convenience method is passed as the second argument. This method accepts a from and to value and can be a number, unit or hex color:
+To make things easier a morphing function is passed as the second argument. This function accepts a `from` and `to` value as the first and second argument and they can be a number, unit or hex color:
```javascript
var ellipse = draw.ellipse(100, 100).attr('cx', '20%').fill('#333')