InDesign2026
API 21.5.1.73
Object

TransformationMatrix

A transformation matrix.

Hierarchy

Application

TransformationMatrix

Properties

NameType AccessDescription
Number readonly The shear angle of the transformation matrix.
Number readonly The rotation angle of the transformation matrix.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The horizontal scale factor of the transformation matrix.
Number readonly The horizontal translation of the transformation matrix.
Number readonly The index of the TransformationMatrix within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
2 Arrays of 2 Reals[] readonly The mapping the transformation matrix performs on the unit triangle. Can return: Array of Array of 2 Arrays of 2 Reals.
Number[] readonly The values of the transformation matrix.
String readonly The name of the TransformationMatrix.
Application readonly The parent of the TransformationMatrix (a Application).
Object read/write A property that allows setting of several properties at the same time.
Number readonly The vertical scale factor of the transformation matrix.
Number readonly The vertical translation of the transformation matrix.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
Number[]

Multiply the point by the matrix.

point Number[] The point to transform
TransformationMatrix[]

Resolves the object specifier, creating an array of object references.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
TransformationMatrix

Rotate the transformation matrix.

byAngle? Number The counterclockwise rotation angle
byCosine? Number The cosine of the desired rotation
bySine? Number The sine of the desired rotation
TransformationMatrix

Scale the transformation matrix.

horizontallyBy? Number The horizontal scale factor
verticallyBy? Number The vertical scale factor
TransformationMatrix

Shear the transformation matrix.

byAngle? Number The horizontal shear angle
bySlope? Number The horizontal shear slope
String

Generates a string which, if executed, will return the TransformationMatrix.

String

Retrieves the object specifier.

TransformationMatrix

Translate the transformation matrix.

horizontallyBy? Number The horizontal translation distance
verticallyBy? Number The vertical translation distance

Object of 4

Properties elsewhere that hold a TransformationMatrix.

Parameter of 39

Method parameters that accept a TransformationMatrix.

Return 55

Methods that return a TransformationMatrix.

Button.transformValuesOf()CheckBox.transformValuesOf()ComboBox.transformValuesOf()EPS.transformValuesOf()EPSText.transformValuesOf()EndnoteTextFrame.transformValuesOf()FlexObject.transformValuesOf()FormField.transformValuesOf()Graphic.transformValuesOf()GraphicLine.transformValuesOf()Group.transformValuesOf()Guide.transformValuesOf()HtmlItem.transformValuesOf()Image.transformValuesOf()ImportedPage.transformValuesOf()ListBox.transformValuesOf()MasterSpread.transformValuesOf()MediaItem.transformValuesOf()Movie.transformValuesOf()MultiStateObject.transformValuesOf()Oval.transformValuesOf()PDF.transformValuesOf()PICT.transformValuesOf()Page.transformValuesOf()PageItem.transformValuesOf()Polygon.transformValuesOf()RadioButton.transformValuesOf()Rectangle.transformValuesOf()SVG.transformValuesOf()SignatureField.transformValuesOf()Sound.transformValuesOf()SplineItem.transformValuesOf()Spread.transformValuesOf()TextBox.transformValuesOf()TextFrame.transformValuesOf()TransformationMatrices.[]()TransformationMatrices.add()TransformationMatrices.anyItem()TransformationMatrices.everyItem()TransformationMatrices.firstItem()TransformationMatrices.item()TransformationMatrices.itemByName()TransformationMatrices.itemByRange()TransformationMatrices.lastItem()TransformationMatrices.middleItem()TransformationMatrices.nextItem()TransformationMatrices.previousItem()TransformationMatrix.catenateMatrix()TransformationMatrix.getElements()TransformationMatrix.invertMatrix()TransformationMatrix.rotateMatrix()TransformationMatrix.scaleMatrix()TransformationMatrix.shearMatrix()TransformationMatrix.translateMatrix()WMF.transformValuesOf()