SVG: Add parallelogram to example.

We should really have a test-case in place...
This commit is contained in:
Jürg Lehni 2013-10-16 17:11:15 +02:00
parent 751dfe52ea
commit 0129080a08

View file

@ -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()); document.getElementById('svg').appendChild(project.exportSVG());
</script> </script>
</head> </head>