Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| add( | [horizontalScaleFactor] [, verticalScaleFactor] [, clockwiseShearAngle] [, counterclockwiseRotationAngle] [, horizontalTranslation] [, verticalTranslation] [, matrixValues], matrixMapping [, withProperties]) |
→ TransformationMatrix |
| count( | ) |
→ number |
| item( | index) |
→ TransformationMatrix |
| itemByName( | name) |
→ TransformationMatrix |
| itemByRange( | from, to) |
→ TransformationMatrix |
| nextItem( | obj) |
→ TransformationMatrix |
| previousItem( | obj) |
→ TransformationMatrix |
| toSource( | ) |
→ string |
-
add( [horizontalScaleFactor] [, verticalScaleFactor] [, clockwiseShearAngle] [, counterclockwiseRotationAngle] [, horizontalTranslation] [, verticalTranslation] [, matrixValues], matrixMapping [, withProperties])→ TransformationMatrix -
Create a new TransformationMatrix.
horizontalScaleFactornumber The horizontal scale factor of the transformation matrix (Optional) verticalScaleFactornumber The vertical scale factor of the transformation matrix (Optional) clockwiseShearAnglenumber The shear angle of the transformation matrix (Optional) counterclockwiseRotationAnglenumber The rotation angle of the transformation matrix (Optional) horizontalTranslationnumber The horizontal translation of the transformation matrix (Optional) verticalTranslationnumber The vertical translation of the transformation matrix (Optional) matrixValuesArray<number> The values of the transformation matrix (Optional) matrixMappingThe mapping the transformation matrix performs on the unit triangle. Can accept: Array of Array of 2 Arrays of 2 Reals. (Optional) withPropertiesObject Initial values for properties of the new TransformationMatrix (Optional) -
anyItem( )→ TransformationMatrix -
Returns any TransformationMatrix in the collection.
-
count( )→ number -
Displays the number of elements in the TransformationMatrix.
-
everyItem( )→ TransformationMatrix -
Returns every TransformationMatrix in the collection.
-
firstItem( )→ TransformationMatrix -
Returns the first TransformationMatrix in the collection.
-
item( index)→ TransformationMatrix -
Returns the TransformationMatrix with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByName( name)→ TransformationMatrix -
Returns the TransformationMatrix with the specified name.
namestring The name. -
itemByRange( from, to)→ TransformationMatrix -
Returns the TransformationMatrices within the specified range.
fromThe TransformationMatrix, index, or name at the beginning of the range. Can accept: TransformationMatrix, Long Integer or String. toThe TransformationMatrix, index, or name at the end of the range. Can accept: TransformationMatrix, Long Integer or String. -
lastItem( )→ TransformationMatrix -
Returns the last TransformationMatrix in the collection.
-
middleItem( )→ TransformationMatrix -
Returns the middle TransformationMatrix in the collection.
-
nextItem( obj)→ TransformationMatrix -
Returns the TransformationMatrix whose index follows the specified TransformationMatrix in the collection.
objTransformationMatrix The TransformationMatrix whose index comes before the desired TransformationMatrix. -
previousItem( obj)→ TransformationMatrix -
Returns the TransformationMatrix with the index previous to the specified index.
objTransformationMatrix The index of the TransformationMatrix that follows the desired TransformationMatrix. -
toSource( )→ string -
Generates a string which, if executed, will return the TransformationMatrix.