var omf = 2.834645;
var moveMatrix = app.getTranslationMatrix((-10*omf), (-10*omf));
var rotateMatrix = concatenateRotationMatrix( moveMatrix, 0 );
var totalMatrix = concatenateScaleMatrix (rotateMatrix, 500, 500);
app.activeDocument.selection[0].transform(totalMatrix,false,false,true,false,0, Transformation.CENTER);
I wrote the following script but it doesn't seem to transform the gradient.
Please help...
Cheers Daniel