TransformationMatrix
QuickLinks
Hierarchy
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. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
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. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
matrixMapping | Array of 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. |
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
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
TransformationMatrix catenateMatrix (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 TransformationMatrix getElements ()
Resolves the object specifier, creating an array of object references.
TransformationMatrix invertMatrix ()
Invert the transformation matrix.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
TransformationMatrix rotateMatrix ([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) |
TransformationMatrix scaleMatrix ([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) |
TransformationMatrix shearMatrix ([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.
TransformationMatrix translateMatrix ([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) |
Element of
Page.masterPageTransform
Used in:
TransformationMatrix TransformationMatrices.nextItem (obj: TransformationMatrix)
TransformationMatrix TransformationMatrices.previousItem (obj: TransformationMatrix)
TransformationMatrix TransformationMatrix.catenateMatrix (withMatrix: TransformationMatrix)
Return
Array of TransformationMatrix Button.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix CheckBox.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix ComboBox.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix EPS.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix EPSText.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 Guide.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix HtmlItem.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Image.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix ImportedPage.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix ListBox.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix MasterSpread.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix MediaItem.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Movie.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix MultiStateObject.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Oval.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix PDF.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix PICT.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Page.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix PageItem.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Polygon.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix RadioButton.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Rectangle.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix SignatureField.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Sound.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix SplineItem.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix Spread.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix TextBox.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix TextFrame.transformValuesOf (in: CoordinateSpaces)
TransformationMatrix TransformationMatrices.[] (index: number)
TransformationMatrix TransformationMatrices.add ([horizontalScaleFactor: number][, verticalScaleFactor: number][, clockwiseShearAngle: number][, counterclockwiseRotationAngle: number][, horizontalTranslation: number][, verticalTranslation: number][, matrixValues: Array of number][, matrixMapping: Array of varies][, withProperties: Object])
TransformationMatrix TransformationMatrices.anyItem ()
Array of TransformationMatrix TransformationMatrices.everyItem ()
TransformationMatrix TransformationMatrices.firstItem ()
TransformationMatrix TransformationMatrices.item (index: varies)
TransformationMatrix TransformationMatrices.itemByName (name: string)
Array of TransformationMatrix TransformationMatrices.itemByRange (from: varies, to: varies)
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)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |