Matrix - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

366

Matrix

A transformation matrix specification, used to transform the geometry of objects.
Table 5.72 Matrix — Properties
Property
Application
MValueA
MValueB
MValueC
MValueD
MValueTX
MValueTY
Notes
This class is used to define a record which contains the component values of an Illustrator
transformation matrix. It is used for specifying and retrieving matrix information from an
Illustrator document or from PageItems in a document.
Matrices are used in conjunction with the Transform method and as a property of a number
of objects. A matrix specifies how to transform the geometry of an object. You can generate an
original matrix using the application methods getIdentityMatrix,
getTranslationMatrix, getScaleMatrix, or getRotationMatrix.
A Matrix is a record containing the matrix values, not a reference to a matrix object. The
matrix commands listed above operate on the values of a matrix record. If a command modifies
a matrix, a modified matrix record is returned as the result of the command. The original matrix
record pass to the command is not modified.
Example 36.1
If you need to apply multiple transformations to objects it is more efficient to use the matrix
suite than to apply the transformations one at a time. The following script demonstrates how to
combine multiple matrices together.
Dim appRef As New Illustrator.Application
Dim moveMatrix As Illustrator.Matrix
Dim totalMatrix As Illustrator.Matrix
'move art half an inch to the right and 1.5 inch up on the page
R/O
Value type
R/O
Application object
Double
Double
Double
Double
Double
Double
12 Aug 03
Visual Basic Reference
What it is
The Illustrator Application object
Matrix property a
Matrix property b
Matrix property c
Matrix property d
Matrix property tx
Matrix property ty

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents