TransformationMatrices
A collection of transformation matrices.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
TransformationMatrix [] (index:Number)
Returns the TransformationMatrix with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
TransformationMatrix add (horizontalScaleFactor:Number, verticalScaleFactor:Number, clockwiseShearAngle:Number, counterclockwiseRotationAngle:Number, horizontalTranslation:Number, verticalTranslation:Number, matrixValues:Array of Number, matrixMapping:Array of Varies 2 Arrays of 2 Reals. , withProperties:Object)
Create a new TransformationMatrix.
Parameter |
Type |
Description |
---|---|---|
horizontalScaleFactor |
The horizontal scale factor of the transformation matrix (Optional) |
|
verticalScaleFactor |
The vertical scale factor of the transformation matrix (Optional) |
|
clockwiseShearAngle |
The shear angle of the transformation matrix (Optional) |
|
counterclockwiseRotationAngle |
The rotation angle of the transformation matrix (Optional) |
|
horizontalTranslation |
The horizontal translation of the transformation matrix (Optional) |
|
verticalTranslation |
The vertical translation of the transformation matrix (Optional) |
|
matrixValues |
The values of the transformation matrix (Optional) |
|
matrixMapping |
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 |
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.
TransformationMatrix everyItem ()
Returns every TransformationMatrix in the collection.
TransformationMatrix firstItem ()
Returns the first TransformationMatrix in the collection.
TransformationMatrix item (index:Varies LongInteger String)
Returns the TransformationMatrix with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
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 |
The name. |
TransformationMatrix itemByRange (from:Varies LongInteger TransformationMatrix String, to:Varies LongInteger TransformationMatrix String)
Returns the TransformationMatrices within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The TransformationMatrix, index, or name at the beginning of the range. Can accept: TransformationMatrix, Long Integer or String. |
to |
LongInteger |
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 |
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 |
The index of the TransformationMatrix that follows the desired TransformationMatrix. |
String toSource ()
Generates a string which, if executed, will return the TransformationMatrix.
Object of
Application.transformationMatrices