TransformationMatrices

TransformationMatrix(変形メトリクス)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] add([horizontalScaleFactor], [verticalScaleFactor], [clockwiseShearAngle], [counterclockwiseRotationAngle], [horizontalTranslation], [verticalTranslation], [matrixValues], [matrixMapping], [withProperties]) TransformationMatrix新しいオブジェクトを作成し、それを返す
[horizontalScaleFactor] 数値水平方向の倍率
[verticalScaleFactor] 数値垂直方向の倍率
[clockwiseShearAngle] 数値シアーの角度
[counterclockwiseRotationAngle] 数値回転の角度
[horizontalTranslation] 数値The horizontal translation of the transformation matrix
[verticalTranslation] 数値The vertical translation of the transformation matrix
[matrixValues] Array( 数値 )The values of the transformation matrix
[matrixMapping] Array of Array of 2 Arrays of 2 RealsThe mapping the transformation matrix performs on the unit triangle.
[withProperties] Objectプロパティを設定
[18][19][20][21] anyItem() TransformationMatrixどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() TransformationMatrix (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() TransformationMatrix最初のオブジェクトを返す
[18][19][20][21] item(index) TransformationMatrixインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByName(name) TransformationMatrix名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) TransformationMatrix (Array)範囲で指定したオブジェクトを返す
from TransformationMatrix, 数値, 文字列値範囲の開始
to TransformationMatrix, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() TransformationMatrix最後のオブジェクトを返す
[18][19][20][21] middleItem() TransformationMatrix真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) TransformationMatrix一つ後のオブジェクトを返す
obj TransformationMatrix位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) TransformationMatrix一つ前のオブジェクトを返す
obj TransformationMatrix位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

TransformationMatrix

変形メトリクス

プロパティ(parentとその逆)

Ver.プロパティR/O
[18][19][20][21] parent Application
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] clockwiseShearAngle 数値歪み
[18][19][20][21] counterclockwiseRotationAngle 数値回転
[18][19][20][21] horizontalScaleFactor 数値水平方向の拡大縮小
[18][19][20][21] horizontalTranslation 数値水平方向の移動
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] matrixMapping Array of Array of 2 Arrays of 2 RealsThe mapping the transformation matrix performs on the unit triangle. Can return: Array of Array of 2 Arrays of 2 Reals.
[18][19][20][21] matrixValues Array( 数値 )The values of the transformation matrix.
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] properties Object
[18][19][20][21] verticalScaleFactor 数値垂直方向の拡大縮小
[18][19][20][21] verticalTranslation 数値垂直方向の移動

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] catenateMatrix(withMatrix) TransformationMatrixMultiply the transformation matrix by another.
withMatrix TransformationMatrixThe right hand matrix factor
[18][19][20][21] changeCoordinates(point) Array( 数値 )Multiply the point by the matrix.
point Array( 数値 )The point to transform
[18][19][20][21] getElements() Array( TransformationMatrix )オブジェクト参照を返す
[18][19][20][21] invertMatrix() TransformationMatrixInvert the transformation matrix.
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] rotateMatrix([byAngle], [byCosine], [bySine]) TransformationMatrixRotate the transformation matrix.
[byAngle] 数値回転角
[byCosine] 数値コサイン
[bySine] 数値サイン
[18][19][20][21] scaleMatrix([horizontallyBy], [verticallyBy]) TransformationMatrixScale the transformation matrix.
[horizontallyBy] 数値The horizontal scale factor
[verticallyBy] 数値The vertical scale factor
[18][19][20][21] shearMatrix([byAngle], [bySlope]) TransformationMatrixShear the transformation matrix.
[byAngle] 数値水平方向の角度
[bySlope] 数値The horizontal shear slope
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.
[18][19][20][21] translateMatrix([horizontallyBy], [verticallyBy]) TransformationMatrixTranslate the transformation matrix.
[horizontallyBy] 数値The horizontal translation distance
[verticallyBy] 数値The vertical translation distance