Sg2.9
scaling only in X direction i...
Recent RSS
scaling only in X direction in raster.js
From:  kelly
Date:  1. September 2008, 17:55

Hi,
I am trying to find out how to scale objects only widthwise, or in X direction while running object raster script.
Any help would be great...I know some programing but never worked with javascript. spoonfeed would be excellent!
Thanks
k

Re: scaling only in X direction in raster.js
Date:  1. September 2008, 23:26

just provide 1 for the y:

to scale a selected path by 50%, you could do:

document.selectedItems[0].scale(0.5, 1);

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
L-System 26.10.11