Adobe 26001360 Scripting Guide - Page 263
get identity matrix, Notes, Example 92.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 263 highlights
Adobe Illustrator CS Scripting Guide 263 tell application "Illustrator CS" set textString to contents of text frame 1 of document 1 set textRef to text of text frame 1 of document 1 as reference end tell get identity matrix Returns an identity matrix. Table 4.129 get identity matrix - Parameters Parameters What it is Objects supported none nothing • matrix Returns matrix Notes The identity matrix is a transformation matrix that causes no transformation. This command is very useful for getting a base matrix to use with the matrix concatenation commands. Example 92.1 -- This script gets the identity matrix, -- combines with rotation and scale and applies to object tell application "Illustrator CS" set transformMatrix to get identity matrix set transformMatrix to concatenate rotation matrix ¬ transformMatrix angle 45.0 set transformMatrix to concatenate scale matrix ¬ transformMatrix horizontal scale 60 transform page item 1 of document 1 using transformMatrix end tell 12 Aug 03