summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-03 21:44:34 +0100
committerwout <wout@impinc.co.uk>2014-02-03 21:44:34 +0100
commit8dcb37d3406a85ef639e31b256823cf24fd7b7c6 (patch)
tree3c926ea927e63c7b4e4eb1dbd5befd9f06fa8e54 /README.md
parent78bbbfebcf6a2b2e17e46f395cf665c932957f36 (diff)
downloadsvg.js-8dcb37d3406a85ef639e31b256823cf24fd7b7c6.tar.gz
svg.js-8dcb37d3406a85ef639e31b256823cf24fd7b7c6.zip
Added `length()`method to path
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index b46868c..6cd9caf 100644
--- a/README.md
+++ b/README.md
@@ -1131,6 +1131,15 @@ Note: the `x` and `y` positions are tested against the relative position of the
__`returns`: `boolean`__
+### length()
+Get the total lengthof a path element:
+
+```javascript
+var length = path.length()
+```
+
+__`returns`: `number`__
+
## Animating elements