Adobe 26001360 - Illustrator CS - PC Manual page 343

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

Advertisement

Adobe Illustrator CS Scripting Guide
Table 5.49 GraphItem — Methods (Continued)
Method
Rotate(
Angle As Double,
[changePositions As Boolean],
[changeFillPatterns As Boolean],
[changeFillGradients As Boolean],
[changeStrokePattern As Boolean],
[rotateAbout As AiTransformation])
Transform(
transformationMatrix As Matrix,
[changePositions As Boolean],
[changeFillPatterns As Boolean],
[changeFillGradients As Boolean],
[changeStrokePattern As Boolean],
[changeLineWidths As Double],
transformAbout As
AiTransformation])
Translate(
[deltaX As Double],
[deltaY As Double],
[transformObjects As Boolean],
[transformFillPatterns As Boolean],
[transformFillGradients As Boolean],
[transformStrokePatterns As Boolean])
ZOrder(zOrderCmd As AiZOrderMethod)
Notes
It is not necessary to set the type of the ContentVariable before binding. Illustrator
automatically sets the type to AiGraph.
It is not necessary to set the type of the VisibilityVariable before binding. Illustrator
automatically sets the type to AiVisibility.
GraphItems cannot be created from a script, but existing items can be manipulated like any
other art item.
Example 26.1
' GraphItem
'
' Rotate each GraphItem in the current document
Returns
What it does
Nothing
Rotates the GraphItem relative to the
current rotation; the object is rotated
counter-clockwise if the Angle value is
positive, clockwise if the value is negative
Nothing
Transforms the GraphItem by applying
a transformation matrix
Nothing
Repositions the GraphItem relative to
the current position, where deltaX is
the horizontal offset and deltaY is the
vertical offset
Nothing
Arranges the GraphItem's position in
the stacking order of the group or layer
(Parent) of this object
12 Aug 03
343

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents