diff options
author | wout <wout@impinc.co.uk> | 2013-03-24 21:03:14 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-03-24 21:03:14 +0100 |
commit | 264c100153fc45cedf94a8cc8a0174fae12e1fe8 (patch) | |
tree | 690060d1ebc545fda9ec962323141d4740a3f950 /src/poly.js | |
parent | a0076d75bbac8f2c128f9b34e976bcb1ea3caa09 (diff) | |
download | svg.js-264c100153fc45cedf94a8cc8a0174fae12e1fe8.tar.gz svg.js-264c100153fc45cedf94a8cc8a0174fae12e1fe8.zip |
Added unbiased option to plotable elements
Diffstat (limited to 'src/poly.js')
-rw-r--r-- | src/poly.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/poly.js b/src/poly.js index 16a1cae..5c458f0 100644 --- a/src/poly.js +++ b/src/poly.js @@ -1,12 +1,16 @@ -SVG.Polyline = function() { +SVG.Polyline = function(unbiased) { this.constructor.call(this, SVG.create('polyline')) + + this.unbiased = unbiased } // Inherit from SVG.Shape SVG.Polyline.prototype = new SVG.Shape -SVG.Polygon = function() { +SVG.Polygon = function(unbiased) { this.constructor.call(this, SVG.create('polygon')) + + this.unbiased = unbiased } // Inherit from SVG.Shape |