4
3

More than 5 years have passed since last update.

▼WebKitCSSMatrixについて

Posted at
//matrixオブジェクトを得る
var matrix = new WebKitCSSMatrix(window.getComputedStyle(obj)).webkitTransform);

//matrix.a(b, c, d, e...)のプロパティあり。
//aとdがスケール。

//↓プロパティの意味
/*
⎛a c e⎞
⎜b d f⎟
⎝0 0 1⎠
*/
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3