Adobe 26001360 Scripting Guide - Page 180
pattern color info, Example 40.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 180 highlights
180 AppleScript Reference Example 40.1 The following example demonstrates how the name of a pattern can be retrieved. -- Returns the name of the first pattern tell application "Illustrator CS" set pathname to name of pattern 1 of document 1 end tell pattern color info A pattern color specification, used to specify a pattern color in conjunction with the color property. Note: The pattern color info class inherits all valid properties from the color info class. Table 4.62 pattern color info - Properties Property matrix pattern reflect reflect angle rotation scale factor shear angle shear axis shift angle R/O Value type matrix object reference boolean real real fixed point real real real What it is An additional transformation matrix to manipulate the prototype pattern A reference to the pattern object that defines the pattern to use in this color definition If true, the prototype should be reflected before filling; default: false The axis (in degrees) around which to reflect; default: 0.0 The angle (in degrees) to rotate the prototype pattern before filling; default: 0.0 The horizontal and vertical scaling to scale the prototype pattern expressed as a fixed point; default: 0.0 The angle (in degrees) to slant the shear by; default: 0.0 The axis (in degrees) to be used for shearing; default: 0.0 The angle (in degrees) to translate the unscaled prototype pattern before filling; default: 0.0 12 Aug 03