A transformation matrix
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| clockwiseShearAngle | number | readonly | The shear angle of the transformation matrix |
| counterclockwiseRotationAngle | number | readonly | The rotation angle of the transformation matrix |
| horizontalScaleFactor | number | readonly | The horizontal scale factor of the transformation matrix |
| horizontalTranslation | number | readonly | The horizontal translation of the transformation matrix |
| index | number | readonly | The index of the TransformationMatrix within its containing object. |
| matrixValues | Array of number | readonly | The values of the transformation matrix |
| name | string | readonly | The name of the TransformationMatrix. |
| parent | Application | readonly | The parent of the TransformationMatrix (a Application). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| verticalScaleFactor | number | readonly | The vertical scale factor of the transformation matrix |
| verticalTranslation | number | readonly | The vertical translation of the transformation matrix |
Methods
TransformationMatrixcatenateMatrix (withMatrix:
TransformationMatrix)
Multiply the transformation matrix by another
| Parameter | Type | Description |
|---|---|---|
| withMatrix | TransformationMatrix | The right hand matrix factor |
Array of number changeCoordinates (point:
Array of number)
Multiply the point by the matrix
| Parameter | Type | Description |
|---|---|---|
| point | Array of number | The point to transform |
Array of TransformationMatrixgetElements ()
Resolves the object specifier, creating an array of object references.
TransformationMatrixinvertMatrix ()
Invert the transformation matrix
TransformationMatrixrotateMatrix ([byAngle:
number][, byCosine:
number][, bySine:
number])
Rotate the transformation matrix
| Parameter | Type | Description |
|---|---|---|
| byAngle | number | The counterclockwise rotation angle (Optional) |
| byCosine | number | The cosine of the desired rotation (Optional) |
| bySine | number | The sine of the desired rotation (Optional) |
TransformationMatrixscaleMatrix ([horizontallyBy:
number][, verticallyBy:
number])
Scale the transformation matrix
| Parameter | Type | Description |
|---|---|---|
| horizontallyBy | number | The horizontal scale factor (Optional) |
| verticallyBy | number | The vertical scale factor (Optional) |
TransformationMatrixshearMatrix ([byAngle:
number][, bySlope:
number])
Shear the transformation matrix
| Parameter | Type | Description |
|---|---|---|
| byAngle | number | The horizontal shear angle (Optional) |
| bySlope | number | The horizontal shear slope (Optional) |
string toSource ()
Generates a string which, if executed, will return the TransformationMatrix.
string toSpecifier ()
Retrieves the object specifier.
TransformationMatrixtranslateMatrix ([horizontallyBy:
number][, verticallyBy:
number])
Translate the transformation matrix
| Parameter | Type | Description |
|---|---|---|
| horizontallyBy | number | The horizontal translation distance (Optional) |
| verticallyBy | number | The vertical translation distance (Optional) |
Used in:
TransformationMatrices.previousItem (
obj:
TransformationMatrix )
TransformationMatrices.nextItem (
obj:
TransformationMatrix )
TransformationMatrix.catenateMatrix (
withMatrix:
TransformationMatrix )
Returned by:
Array of TransformationMatrix Button.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix EPS.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix FormField.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix Graphic.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix GraphicLine.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix Group.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix Image.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix ImportedPage.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix Oval.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix PageItem.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix PDF.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix PICT.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix Polygon.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix Rectangle.transformValuesOf (
in:
CoordinateSpaces
)
Array of TransformationMatrix TextFrame.transformValuesOf (
in:
CoordinateSpaces
)
TransformationMatrix TransformationMatrices.add (
[horizontalScaleFactor:
number][, verticalScaleFactor:
number][, clockwiseShearAngle:
number][, counterclockwiseRotationAngle:
number][, horizontalTranslation:
number][, verticalTranslation:
number][, matrixValues:
Array of number][, withProperties:
Object]
)
TransformationMatrix TransformationMatrices.anyItem (
)
Array of TransformationMatrix TransformationMatrices.everyItem (
)
TransformationMatrix TransformationMatrices.firstItem (
)
TransformationMatrix TransformationMatrices.item (
index:
any
)
TransformationMatrix TransformationMatrices.itemByName (
name:
string
)
Array of TransformationMatrix TransformationMatrices.itemByRange (
from:
any, to:
any
)
TransformationMatrix TransformationMatrices.lastItem (
)
TransformationMatrix TransformationMatrices.middleItem (
)
TransformationMatrix TransformationMatrices.nextItem (
obj:
TransformationMatrix
)
TransformationMatrix TransformationMatrices.previousItem (
obj:
TransformationMatrix
)
TransformationMatrix TransformationMatrix .catenateMatrix (
withMatrix:
TransformationMatrix
)
Array of TransformationMatrix TransformationMatrix .getElements (
)
TransformationMatrix TransformationMatrix .invertMatrix (
)
TransformationMatrix TransformationMatrix .rotateMatrix (
[byAngle:
number][, byCosine:
number][, bySine:
number]
)
TransformationMatrix TransformationMatrix .scaleMatrix (
[horizontallyBy:
number][, verticallyBy:
number]
)
TransformationMatrix TransformationMatrix .shearMatrix (
[byAngle:
number][, bySlope:
number]
)
TransformationMatrix TransformationMatrix .translateMatrix (
[horizontallyBy:
number][, verticallyBy:
number]
)
Array of TransformationMatrix WMF.transformValuesOf (
in:
CoordinateSpaces
)