diff options
author | wout <wout@impinc.co.uk> | 2014-02-05 10:51:47 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-02-05 10:51:47 +0100 |
commit | 050af98a7ada3280f02acf25fbaba585a264e68a (patch) | |
tree | b03c435ba69363b85e3e865723ea71757d489d37 /src/path.js | |
parent | c51d352babb75ef56fc71d93056a797d7f1d70c5 (diff) | |
download | svg.js-050af98a7ada3280f02acf25fbaba585a264e68a.tar.gz svg.js-050af98a7ada3280f02acf25fbaba585a264e68a.zip |
added pointAt() method to SVG.Path
Diffstat (limited to 'src/path.js')
-rwxr-xr-x | src/path.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/path.js b/src/path.js index 76ef1ba..0345487 100755 --- a/src/path.js +++ b/src/path.js @@ -37,10 +37,7 @@ SVG.Path = SVG.invent({ , height: function(height) { return height == null ? this.bbox().height : this.size(this.bbox().width, height) } - // Get path length - , length: function() { - return this.node.getTotalLength() - } + } // Add parent method |