diff options
author | wout <wout@impinc.co.uk> | 2014-02-05 10:57:35 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-02-05 10:57:35 +0100 |
commit | 7bb2ec3885a129933e7dd02a73ce8260732d34ac (patch) | |
tree | 8088b38c0a746ec6892cae34d89c783f074189b0 /README.md | |
parent | 050af98a7ada3280f02acf25fbaba585a264e68a (diff) | |
download | svg.js-7bb2ec3885a129933e7dd02a73ce8260732d34ac.tar.gz svg.js-7bb2ec3885a129933e7dd02a73ce8260732d34ac.zip |
Updated README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1152,7 +1152,7 @@ Note: the `x` and `y` positions are tested against the relative position of the __`returns`: `boolean`__ ### length() -Get the total lengthof a path element: +Get the total length of a path element: ```javascript var length = path.length() @@ -1160,6 +1160,15 @@ var length = path.length() __`returns`: `number`__ +### pointAt() +Get get point on a path at given length: + +```javascript +var point = path.pointAt(105) //-> returns { x : 96.88497924804688, y : 58.062747955322266 } +``` + +__`returns`: `object`__ + ## Animating elements |