summaryrefslogtreecommitdiffstats
path: root/src/path.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-05 10:51:47 +0100
committerwout <wout@impinc.co.uk>2014-02-05 10:51:47 +0100
commit050af98a7ada3280f02acf25fbaba585a264e68a (patch)
treeb03c435ba69363b85e3e865723ea71757d489d37 /src/path.js
parentc51d352babb75ef56fc71d93056a797d7f1d70c5 (diff)
downloadsvg.js-050af98a7ada3280f02acf25fbaba585a264e68a.tar.gz
svg.js-050af98a7ada3280f02acf25fbaba585a264e68a.zip
added pointAt() method to SVG.Path
Diffstat (limited to 'src/path.js')
-rwxr-xr-xsrc/path.js5
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