Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

finding the matrix info on a text frame?

$
0
0

I wanted to understand the matrix values and methods so I could make a script to select or not select textframes that are angled.

Can anyone explain this matrix stuff to me?

 

This script is the only example I have found so far.

if ( app.documents.length > 0 ) {

var moveMatrix = app.getIdentityMatrix( 0.5, 1.5 );

var totalMatrix = concatenateRotationMatrix( moveMatrix, 10 );

var doc = app.activeDocument.activeLayer;

for ( i = 0; i < doc.pageItems.length; i++ ) {

doc.pageItems[i].transform( totalMatrix );

}

}

 

Im thinking I need to use getRotationMatrix([angle])

any help would be greatly appreciated,

Duane


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>