TransformationMatrix
A transformation matrix.
Go to Property Listing | Method Listing
Methods:
addEventListener, catenateMatrix, changeCoordinates, getElements, invertMatrix, removeEventListener, rotateMatrix, scaleMatrix, shearMatrix, toSource, toSpecifier, translateMatrix
Objects:
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The shear angle of the transformation matrix. |
||
readonly |
The rotation angle of the transformation matrix. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The horizontal scale factor of the transformation matrix. |
||
readonly |
The horizontal translation of the transformation matrix. |
||
readonly |
The index of the TransformationMatrix within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
Array of 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. |
|
readonly |
The values of the transformation matrix. |
||
readonly |
The name of the TransformationMatrix. |
||
readonly |
The parent of the TransformationMatrix (a Application). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
The vertical scale factor of the transformation matrix. |
||
readonly |
The vertical translation of the transformation matrix. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
TransformationMatrix catenateMatrix (withMatrix:TransformationMatrix)
Multiply the transformation matrix by another.
Parameter |
Type |
Description |
---|---|---|
withMatrix |
The right hand matrix factor |
Number changeCoordinates (point:Array of Number)
Multiply the point by the matrix.
TransformationMatrix getElements ()
Resolves the object specifier, creating an array of object references.
TransformationMatrix invertMatrix ()
Invert the transformation matrix.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
TransformationMatrix rotateMatrix (byAngle:Number, byCosine:Number, bySine:Number)
Rotate the transformation matrix.
Parameter |
Type |
Description |
---|---|---|
byAngle |
The counterclockwise rotation angle (Optional) |
|
byCosine |
The cosine of the desired rotation (Optional) |
|
bySine |
The sine of the desired rotation (Optional) |
TransformationMatrix scaleMatrix (horizontallyBy:Number, verticallyBy:Number)
Scale the transformation matrix.
Parameter |
Type |
Description |
---|---|---|
horizontallyBy |
The horizontal scale factor (Optional) |
|
verticallyBy |
The vertical scale factor (Optional) |
TransformationMatrix shearMatrix (byAngle:Number, bySlope:Number)
Shear the transformation matrix.
Parameter |
Type |
Description |
---|---|---|
byAngle |
The horizontal shear angle (Optional) |
|
bySlope |
The horizontal shear slope (Optional) |
String toSource ()
Generates a string which, if executed, will return the TransformationMatrix.
String toSpecifier ()
Retrieves the object specifier.
TransformationMatrix translateMatrix (horizontallyBy:Number, verticallyBy:Number)
Translate the transformation matrix.
Object of
Event.parent
EventListener.parent
MutationEvent.parent
Page.masterPageTransform
Return
MultiStateObject.transformValuesOf()
RadioButton.transformValuesOf()
SignatureField.transformValuesOf()
MasterSpread.transformValuesOf()
GraphicLine.transformValuesOf()
SplineItem.transformValuesOf()
ImportedPage.transformValuesOf()
EndnoteTextFrame.transformValuesOf()
TransformationMatrix.invertMatrix()
TransformationMatrix.catenateMatrix()
TransformationMatrix.getElements()
TransformationMatrices.anyItem()
TransformationMatrices.everyItem()
TransformationMatrices.itemByRange()
TransformationMatrices.nextItem()
TransformationMatrices.previousItem()
TransformationMatrices.itemByName()
TransformationMatrices.firstItem()
TransformationMatrices.lastItem()
TransformationMatrices.middleItem()
TransformationMatrix.rotateMatrix()
TransformationMatrix.scaleMatrix()