Translate - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

284
Experiment with different choices for the about parameter to see what the results are for each
setting.
Example 109.1
-- This script skews an object 45 degrees to the right horizontally
-- by generating a rotation matrix and setting the appropriate matrix values
tell application "Illustrator CS"
set baseMatrix to get rotation matrix angle 45.0
set mvalue_b of baseMatrix to 0
transform page item 1 of document 1 using baseMatrix
end tell

translate

Moves one or more page items from their existing position in a document to a new position
defined by relative coordinates.
Table 4.152 translate — Parameters
Parameters
page item
[delta x real]
[delta y real]
[transforming
objects boolean]
[transforming
fill patterns
boolean]
[transforming
fill gradients
boolean]
[transforming
stroke patterns
boolean]
What it is
The page item
object(s) you want to
translate
The horizontal
coordinate of the new
position
The vertical coordinate
of the new position
If true, the object
positions and
orientations should be
affected by the translate
If true, the fill patterns
should be affected by
the translate
If true, the fill gradients
should be affected by
the translate
If true, the stroke
patterns should be
affected by the translate
12 Aug 03
Objects supported
• compound path
item
• group item
• mesh item
• page item
• path item
• path point
• placed item
• plugin item
• raster item
• text frame
AppleScript Reference
Returns
nothing

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents