Add some transformations to Text exporting example.

This commit is contained in:
Jürg Lehni 2012-11-06 10:03:55 -08:00
parent d9bfc2fa35
commit 93447ee533

View file

@ -18,6 +18,15 @@
text.fillColor = 'red';
text.strokeWidth = '4';
text.content = 'This is also a test';
/*
text.scale(5);
text.translate(15, 15);
text.rotate(20);
text.shear(20, 5);
*/
text.rotate(45);
text.shear(.85, .15);
text.scale(.85, .75);
var path2 = new Path.Circle(new Point(100, 100), 50);
path2.strokeColor = 'black';