diff options
author | wout <wout@impinc.co.uk> | 2013-03-06 11:44:29 +0000 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-03-06 11:44:29 +0000 |
commit | 9e9d06b8c4638fe734b9c5be001417aed7845bb4 (patch) | |
tree | f3871f91ce3727ee50e90eec0dadc1d58b0b1293 | |
parent | 4ac306928d6eabe49d4f29cf7f57a9be9d1a14e4 (diff) | |
download | svg.js-9e9d06b8c4638fe734b9c5be001417aed7845bb4.tar.gz svg.js-9e9d06b8c4638fe734b9c5be001417aed7845bb4.zip |
Updated README
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |