TransformationMatrices

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

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
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プロパティを設定
[12][13][14][15]
[16][17][18][19]
anyItem() TransformationMatrixどれかのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
count() 数値要素数を返す
[12][13][14][15]
[16][17][18][19]
everyItem() Array( TransformationMatrix )全てのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
firstItem() TransformationMatrix最初のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
item(index) TransformationMatrixインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[12][13][14][15]
[16][17][18][19]
itemByName(name) TransformationMatrix名前で指定したオブジェクトを返す
name 文字列値
[12][13][14][15]
[16][17][18][19]
itemByRange(from, to) Array( TransformationMatrix )範囲で指定したオブジェクトを返す
from TransformationMatrix, 数値, 文字列値範囲の開始
to TransformationMatrix, 数値, 文字列値範囲の終了
[12][13][14][15]
[16][17][18][19]
lastItem() TransformationMatrix最後のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
middleItem() TransformationMatrix真ん中のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
nextItem(obj) TransformationMatrix一つ後のオブジェクトを返す
obj TransformationMatrix位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
previousItem(obj) TransformationMatrix一つ前のオブジェクトを返す
obj TransformationMatrix位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す

TransformationMatrix

変形メトリクス

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

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Application
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
clockwiseShearAngle 数値歪み
[12][13][14][15]
[16][17][18][19]
counterclockwiseRotationAngle 数値回転
[12][13][14][15]
[16][17][18][19]
horizontalScaleFactor 数値水平方向の拡大縮小
[12][13][14][15]
[16][17][18][19]
horizontalTranslation 数値水平方向の移動
[12][13][14][15]
[16][17][18][19]
index 数値インデックス
[12][13][14][15]
[16][17][18][19]
isValid 真偽値オブジェクトが有効かどうか
[12][13][14][15]
[16][17][18][19]
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.
[12][13][14][15]
[16][17][18][19]
matrixValues Array( 数値 )The values of the transformation matrix.
[12][13][14][15]
[16][17][18][19]
name 文字列値オブジェクトの名前
[12][13][14][15]
[16][17][18][19]
properties Object
[12][13][14][15]
[16][17][18][19]
verticalScaleFactor 数値垂直方向の拡大縮小
[12][13][14][15]
[16][17][18][19]
verticalTranslation 数値垂直方向の移動

メソッド

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