Adobe 26001360 Scripting Guide - Page 124
The clipping path must be the first frontmost path in the group
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 124 highlights
124 AppleScript Reference make new rectangle at end of groupRef with properties ¬ {bounds:{200, 250, 300, 150}, fill color:{green:255}, stroked:false} -- Get a little fancy and create a rotated star at the center of the group set pathRef to make new star at beginning of groupRef with properties ¬ {center point:{300, 250}, radius:25, inner radius:4, point count:4 ¬ , fill color:{black:100}, opacity:40, stroked:false} set rotationMatrix to get rotation matrix angle 45 transform pathRef using rotationMatrix about center -- Create the path that the group will be clipped with -- The clipping path must be the first (frontmost) path in the group make new star at beginning of groupRef with properties ¬ {center point:{300, 250}, radius:80, inner radius:25, point count:4 ¬ , stroked:false, filled:false} -- Now clip the group to the top path set clipped of groupRef to true end tell 12 Aug 03