Adobe 26001360 Scripting Guide - Page 178
path point info, Notes, Example 39.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 178 highlights
178 AppleScript Reference path point info Path point information for a specific path item, returned by the entire path property of a path item. Table 4.60 path point info - Properties Property R/O Value type anchor list left direction list point type right direction Valid values: • smooth • corner fixed point What it is The position of a path point's anchor point The position of a path point's left direction point (in position). Specifies whether the point is a corner path point or a curve path point The position of a path point's left direction point (out position). Notes All of the path points in a specific path item can be retrieved and specified using entire path, which returns a list of path point info records. Example 39.1 This example demonstrates how to get every path point for a specific path item. -- Returns the path points of the first path tell application "Illustrator CS" if (count path items of document 1) > 0 then set pointList to entire path of path item 1 of document 1 end if end tell 12 Aug 03