diff options
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 |