From 7bb2ec3885a129933e7dd02a73ce8260732d34ac Mon Sep 17 00:00:00 2001 From: wout Date: Wed, 5 Feb 2014 10:57:35 +0100 Subject: [PATCH] Updated README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f62a0e..e2302ea 100644 --- a/README.md +++ b/README.md @@ -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 -- 2.39.5