Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
catenateMatrix(withMatrix) | TransformationMatrix | Multiply the transformation matrix by another. |
| withMatrix |
TransformationMatrix
| | The right hand matrix factor |
  
   |
changeCoordinates(point) | 数値型 | Multiply the point by the matrix. |
| point |
[x, y]
| | The point to transform |
  
   |
getElements() | TransformationMatrix | |
  
   |
invertMatrix() | TransformationMatrix | Invert the transformation matrix. |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
rotateMatrix([byAngle], [byCosine], [bySine]) | TransformationMatrix | Rotate the transformation matrix. |
| [byAngle] |
数値型
| | 回転角 |
| [byCosine] |
数値型
| | コサイン |
| [bySine] |
数値型
| | サイン |
  
   |
scaleMatrix([horizontallyBy], [verticallyBy]) | TransformationMatrix | Scale the transformation matrix. |
| [horizontallyBy] |
数値型
| | The horizontal scale factor |
| [verticallyBy] |
数値型
| | The vertical scale factor |
  
   |
shearMatrix([byAngle], [bySlope]) | TransformationMatrix | Shear the transformation matrix. |
| [byAngle] |
数値型
| | 水平方向の角度 |
| [bySlope] |
数値型
| | The horizontal shear slope |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |
  
   |
translateMatrix([horizontallyBy], [verticallyBy]) | TransformationMatrix | Translate the transformation matrix. |
| [horizontallyBy] |
数値型
| | The horizontal translation distance |
| [verticallyBy] |
数値型
| | The vertical translation distance |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
add([horizontalScaleFactor], [verticalScaleFactor], [clockwiseShearAngle], [counterclockwiseRotationAngle], [horizontalTranslation], [verticalTranslation], [matrixValues], [withProperties]) | TransformationMatrix | 新しいオブジェクトを作成し、それを返す |
| [horizontalScaleFactor] |
数値型
| | 水平方向の倍率 |
| [verticalScaleFactor] |
数値型
| | The vertical scale factor of the transformation matrix |
| [clockwiseShearAngle] |
数値型
| | The shear angle of the transformation matrix |
| [counterclockwiseRotationAngle] |
数値型
| | 回転の角度 |
| [horizontalTranslation] |
数値型
| | The horizontal translation of the transformation matrix |
| [verticalTranslation] |
数値型
| | The vertical translation of the transformation matrix |
| [matrixValues] |
数値型
| | The values of the transformation matrix |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
add([horizontalScaleFactor], [verticalScaleFactor], [clockwiseShearAngle], [counterclockwiseRotationAngle], [horizontalTranslation], [verticalTranslation], [matrixValues], [matrixMapping], [withProperties]) | TransformationMatrix | 新しいオブジェクトを作成し、それを返す |
| [horizontalScaleFactor] |
数値型
| | 水平方向の倍率 |
| [verticalScaleFactor] |
数値型
| | The vertical scale factor of the transformation matrix |
| [clockwiseShearAngle] |
数値型
| | The shear angle of the transformation matrix |
| [counterclockwiseRotationAngle] |
数値型
| | 回転の角度 |
| [horizontalTranslation] |
数値型
| | The horizontal translation of the transformation matrix |
| [verticalTranslation] |
数値型
| | The vertical translation of the transformation matrix |
| [matrixValues] |
数値型
| | The values of the transformation matrix |
| [matrixMapping] |
Array of Array of 2 Arrays of 2 Reals
| | The mapping the transformation matrix performs on the unit triangle. |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
anyItem() | TransformationMatrix | |
  
   |
count() | 数値型 | 要素数を返す |
  
   |
everyItem() | TransformationMatrix | |
  
   |
firstItem() | TransformationMatrix | 最初のオブジェクトを返す |
  
   |
item(index) | TransformationMatrix | インデックスまたは名前で指定したオブジェクトを返す |
| index |
数値型, 文字列型
| | 番号もしくは名前 |
  
   |
itemByName(name) | TransformationMatrix | 名前で指定したオブジェクトを返す |
| name |
文字列型
| | 名前 |
  
   |
itemByRange(from, to) | TransformationMatrix | 範囲で指定したオブジェクトを返す |
| from |
TransformationMatrix, 数値型, 文字列型
| | 範囲の開始 |
| to |
TransformationMatrix, 数値型, 文字列型
| | 範囲の終了 |
  
   |
lastItem() | TransformationMatrix | 最後のオブジェクトを返す |
  
   |
middleItem() | TransformationMatrix | |
  
   |
nextItem(obj) | TransformationMatrix | 一つ後のオブジェクトを返す |
| obj |
TransformationMatrix
| | 位置の基準になるオブジェクト |
  
   |
previousItem(obj) | TransformationMatrix | 一つ前のオブジェクトを返す |
| obj |
TransformationMatrix
| | 位置の基準になるオブジェクト |
  
   |
toSource() | 文字列型 | |