InDesign Server2025
API 20.5.0.49
Collection of TransformationMatrix

TransformationMatrices

A collection of transformation matrices.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

TransformationMatrix

Create a new TransformationMatrix.

horizontalScaleFactor? Number The horizontal scale factor of the transformation matrix
verticalScaleFactor? Number The vertical scale factor of the transformation matrix
clockwiseShearAngle? Number The shear angle of the transformation matrix
counterclockwiseRotationAngle? Number The rotation angle of the transformation matrix
horizontalTranslation? Number The horizontal translation of the transformation matrix
verticalTranslation? Number The vertical translation of the transformation matrix
matrixValues? Number[] The values of the transformation matrix
matrixMapping? 2 Arrays of 2 Reals[] The mapping the transformation matrix performs on the unit triangle. Can accept: Array of Array of 2 Arrays of 2 Reals.
withProperties? Object Initial values for properties of the new TransformationMatrix
Number

Displays the number of elements in the TransformationMatrix.

TransformationMatrix

Returns the TransformationMatrix with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
TransformationMatrix[]

Returns the TransformationMatrices within the specified range.

from LongInteger | TransformationMatrix | String The TransformationMatrix, index, or name at the beginning of the range. Can accept: TransformationMatrix, Long Integer or String.
to LongInteger | TransformationMatrix | String The TransformationMatrix, index, or name at the end of the range. Can accept: TransformationMatrix, Long Integer or String.
TransformationMatrix

Returns the TransformationMatrix whose index follows the specified TransformationMatrix in the collection.

obj TransformationMatrix The TransformationMatrix whose index comes before the desired TransformationMatrix.
TransformationMatrix

Returns the TransformationMatrix with the index previous to the specified index.

obj TransformationMatrix The index of the TransformationMatrix that follows the desired TransformationMatrix.
String

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

Object of 1

Properties elsewhere that hold a TransformationMatrices.