diff options
author | wout <wout@impinc.co.uk> | 2014-02-03 21:44:34 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-02-03 21:44:34 +0100 |
commit | 8dcb37d3406a85ef639e31b256823cf24fd7b7c6 (patch) | |
tree | 3c926ea927e63c7b4e4eb1dbd5befd9f06fa8e54 /README.md | |
parent | 78bbbfebcf6a2b2e17e46f395cf665c932957f36 (diff) | |
download | svg.js-8dcb37d3406a85ef639e31b256823cf24fd7b7c6.tar.gz svg.js-8dcb37d3406a85ef639e31b256823cf24fd7b7c6.zip |
Added `length()`method to path
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |