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. |
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
Instances
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.
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) |
Used in:
void Button.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void EPS.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void FormField.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Graphic.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void GraphicLine.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Group.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Image.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void ImportedPage.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Movie.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Oval.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void PDF.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void PICT.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void PageItem.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Polygon.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Rectangle.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void Sound.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
void TextFrame.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
array of TransformationMatrix TransformationMatrices.itemByRange (from: any, to: any)
TransformationMatrix TransformationMatrices.nextItem (obj: TransformationMatrix)
TransformationMatrix TransformationMatrices.previousItem (obj: TransformationMatrix)
TransformationMatrix TransformationMatrix.catenateMatrix (withMatrix: TransformationMatrix)
void WMF.transform (in: CoordinateSpaces, from: any, withMatrix: any[, replacingCurrent: any][, consideringRulerUnits: bool=false])
Return
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 PDF.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix PICT.transformValuesOf (in: CoordinateSpaces)
Array of TransformationMatrix PageItem.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)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |