mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Add some transformations to Text exporting example.
This commit is contained in:
parent
d9bfc2fa35
commit
93447ee533
1 changed files with 9 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue