transformation matrices
Methods
TransformationMatrixadd ([horizontalScaleFactor:
number][, verticalScaleFactor:
number][, clockwiseShearAngle:
number][, counterclockwiseRotationAngle:
number][, horizontalTranslation:
number][, verticalTranslation:
number][, matrixValues:
Array of number][, withProperties:
Object])
Create a new TransformationMatrix
| Parameter | Type | Description |
|---|---|---|
| horizontalScaleFactor | number | The horizontal scale factor of the transformation matrix (Optional) |
| verticalScaleFactor | number | The vertical scale factor of the transformation matrix (Optional) |
| clockwiseShearAngle | number | The shear angle of the transformation matrix (Optional) |
| counterclockwiseRotationAngle | number | The rotation angle of the transformation matrix (Optional) |
| horizontalTranslation | number | The horizontal translation of the transformation matrix (Optional) |
| verticalTranslation | number | The vertical translation of the transformation matrix (Optional) |
| matrixValues | Array of number | The values of the transformation matrix (Optional) |
| withProperties | Object | Initial values for properties of the new TransformationMatrix (Optional) |
TransformationMatrixanyItem ()
Returns any TransformationMatrix in the collection.
number count ()
Displays the number of elements in the TransformationMatrix.
Array of TransformationMatrixeveryItem ()
Returns every TransformationMatrix in the collection.
TransformationMatrixfirstItem ()
Returns the first TransformationMatrix in the collection.
TransformationMatrixitem (index:
any)
Returns the TransformationMatrix with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
TransformationMatrixitemByName (name:
string)
Returns the TransformationMatrix with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of TransformationMatrixitemByRange (from:
any, to:
any)
Returns the TransformationMatrices within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | TransformationMatrix Long Integer String |
The TransformationMatrix, index, or name at the beginning of the range. Can accept: TransformationMatrix, Long Integer or String. |
| to | TransformationMatrix Long Integer String |
The TransformationMatrix, index, or name at the end of the range. Can accept: TransformationMatrix, Long Integer or String. |
TransformationMatrixlastItem ()
Returns the last TransformationMatrix in the collection.
TransformationMatrixmiddleItem ()
Returns the middle TransformationMatrix in the collection.
TransformationMatrixnextItem (obj:
TransformationMatrix)
Returns the TransformationMatrix whose index follows the specified TransformationMatrix in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | TransformationMatrix | The TransformationMatrix whose index comes before the desired TransformationMatrix. |
TransformationMatrixpreviousItem (obj:
TransformationMatrix)
Returns the TransformationMatrix with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | TransformationMatrix | The index of the TransformationMatrix that follows the desired TransformationMatrix. |
string toSource ()
Generates a string which, if executed, will return the TransformationMatrix.
Element of:
Application.transformationMatrices