TransformationMatrices
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
TransformationMatrix [] (index:
number)
Returns the TransformationMatrix with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
TransformationMatrix add ([horizontalScaleFactor:
number][, verticalScaleFactor:
number][, clockwiseShearAngle:
number][, counterclockwiseRotationAngle:
number][, horizontalTranslation:
number][, verticalTranslation:
number][, matrixValues:
Array of number][, matrixMapping:
Array of any][, 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) |
matrixMapping | Array of : Array of Array of 2 Arrays of 2 Reals | The mapping the transformation matrix performs on the unit triangle. Can accept: Array of Array of 2 Arrays of 2 Reals. (Optional) |
withProperties | Object | Initial values for properties of the new TransformationMatrix (Optional) |
TransformationMatrix anyItem ()
Returns any TransformationMatrix in the collection.
number count ()
Displays the number of elements in the TransformationMatrix.
Array of TransformationMatrix everyItem ()
Returns every TransformationMatrix in the collection.
TransformationMatrix firstItem ()
Returns the first TransformationMatrix in the collection.
TransformationMatrix item (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. |
TransformationMatrix itemByName (name:
string)
Returns the TransformationMatrix with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of TransformationMatrix itemByRange (from:
any, to:
any)
Returns the TransformationMatrices within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer String TransformationMatrix | The TransformationMatrix, index, or name at the beginning of the range. Can accept: TransformationMatrix, Long Integer or String. |
to | Long Integer String TransformationMatrix | The TransformationMatrix, index, or name at the end of the range. Can accept: TransformationMatrix, Long Integer or String. |
TransformationMatrix lastItem ()
Returns the last TransformationMatrix in the collection.
TransformationMatrix middleItem ()
Returns the middle TransformationMatrix in the collection.
TransformationMatrix nextItem (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. |
TransformationMatrix previousItem (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
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |