Get Identity Matrix - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

Adobe Illustrator CS Scripting Guide
tell application "Illustrator CS"
set textString to contents of text frame 1 of document 1
set textRef to text of text frame 1 of document 1 as reference
end tell

get identity matrix

Returns an identity matrix.
Table 4.129 get identity matrix — Parameters
Parameters
none
Notes
The identity matrix is a transformation matrix that causes no transformation. This command is
very useful for getting a base matrix to use with the matrix concatenation commands.
Example 92.1
-- This script gets the identity matrix,
-- combines with rotation and scale and applies to object
tell application "Illustrator CS"
set transformMatrix to get identity matrix
set transformMatrix to concatenate rotation matrix ¬
transformMatrix angle 45.0
set transformMatrix to concatenate scale matrix ¬
transformMatrix horizontal scale 60
transform page item 1 of document 1 using transformMatrix
end tell
What it is
nothing
12 Aug 03
Objects supported
• matrix
Returns
matrix
263

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents