From 0129080a08fd77c88983ab0a12db7dca4d2b574e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 16 Oct 2013 17:11:15 +0200 Subject: [PATCH] SVG: Add parallelogram to example. We should really have a test-case in place... --- examples/SVG Export/Rotated Primitives.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/SVG Export/Rotated Primitives.html b/examples/SVG Export/Rotated Primitives.html index fbf358ef..ca7af1dd 100644 --- a/examples/SVG Export/Rotated Primitives.html +++ b/examples/SVG Export/Rotated Primitives.html @@ -62,6 +62,13 @@ } } }; + + var parallelogram = new Path({ + closed: true, + segments: [[50, 0], [50, 100], [90, 120], [90, 20]], + fillColor: '#99c' + }); + document.getElementById('svg').appendChild(project.exportSVG());