TransformationMatrix
A transformation matrix.
Instance
Read Only
String name
The name of the TransformationMatrix.
Read Only
Number matrixValues
The values of the transformation matrix.
Read Only
Number horizontalScaleFactor
The horizontal scale factor of the transformation matrix.
Read Only
Number verticalScaleFactor
The vertical scale factor of the transformation matrix.
Read Only
Number clockwiseShearAngle
The shear angle of the transformation matrix.
Read Only
Number counterclockwiseRotationAngle
The rotation angle of the transformation matrix.
Read Only
Number horizontalTranslation
The horizontal translation of the transformation matrix.
Read Only
Number verticalTranslation
The vertical translation of the transformation matrix.
Read Only
Mixed matrixMapping
The mapping the transformation matrix performs on the unit triangle. Can return: Array of Array of 2 Arrays of 2 Reals.
Read Only
Boolean isValid
Returns true if the object specifier resolves to valid objects.
Read Only
Application parent
The parent of the TransformationMatrix (a Application).
Read Only
Number index
The index of the TransformationMatrix within its containing object.
Read Only
Events events
A collection of events.
Read Only
EventListeners eventListeners
A collection of event listeners.
Object properties
A property that allows setting of several properties at the same time.
Methods
TransformationMatrix scaleMatrix( Number horizontallyBy, Number verticallyBy )
Scale the transformation matrix.
Parameters
Type Name Description 
TransformationMatrix shearMatrix( Number byAngle, Number bySlope )
Shear the transformation matrix.
Parameters
Type Name Description 
TransformationMatrix rotateMatrix( Number byAngle, Number byCosine, Number bySine )
Rotate the transformation matrix.
Parameters
Type Name Description 
TransformationMatrix translateMatrix( Number horizontallyBy, Number verticallyBy )
Translate the transformation matrix.
Parameters
Type Name Description 
TransformationMatrix catenateMatrix( TransformationMatrix withMatrix )
Multiply the transformation matrix by another.
Parameters
Type Name Description 
TransformationMatrix invertMatrix()
Invert the transformation matrix.
Number changeCoordinates( Number point )
Multiply the point by the matrix.
Parameters
Type Name Description 
String toSource()
Generates a string which, if executed, will return the TransformationMatrix.
TransformationMatrix getElements()
Resolves the object specifier, creating an array of object references.
String toSpecifier()
Retrieves the object specifier.
EventListener addEventListener( String eventType, Mixed handler, Boolean captures )
Adds an event listener.
Parameters
Type Name Description 
Boolean removeEventListener( String eventType, Mixed handler, Boolean captures )
Removes the event listener.
Parameters
Type Name Description