Adobe 26001360 Scripting Guide - Page 148
mesh item, Example 29.2
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 148 highlights
148 AppleScript Reference Example 29.2 If you need to apply multiple transformations to objects it is more efficient to use the matrix suite than to apply the transformations one at a time. The following script demonstrates how to combine multiple matrices together. -- Scale, rotate, and translate all art in a document tell application "Illustrator CS" if (count page items in document 1) > 0 then set matrixDef to ¬ get scale matrix horizontal scale 100.0 vertical scale 50.0 set matrixDef to ¬ concatenate rotation matrix matrixDef angle -45.0 set matrixDef to ¬ concatenate translation matrix matrixDef delta x 50.0 delta y -50.0 transform every page item in document 1 using matrixDef end if end tell mesh item, mesh items A gradient mesh art object or list of gradient mesh art objects Note: This object class inherits all valid properties from the page item class. Table 4.46 mesh item, mesh items - Properties Property R/O Value type properties record What it is All of the mesh item's properties returned in a single record (properties which are individually read-only remain so in this record). 12 Aug 03