TransformationMatrices

A collection of transformation matrices.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

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 Varies 2 Arrays of 2 Reals. , 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 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.

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

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.

TransformationMatrix itemByRange (from:Varies LongInteger TransformationMatrix String, to:Varies LongInteger TransformationMatrix String)

Returns the TransformationMatrices within the specified range.

Parameter

Type

Description

from

LongInteger

TransformationMatrix

String

The TransformationMatrix, index, or name at the beginning of the range. Can accept: TransformationMatrix, Long Integer or String.

to

LongInteger

TransformationMatrix

String

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.

Object of

Application.transformationMatrices