CSSTransformComponent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
CSSTransformComponent は CSS 型付きオブジェクトモデル API のインターフェイスで、 CSSTransformValue インターフェイスの一角です。
インスタンスプロパティ
CSSTransformComponent.is2D読取専用-
この座標変換が二次元か三次元かを示す論理値を返します。
インスタンスメソッド
CSSTransformComponent.toMatrix()-
新しい
DOMMatrixオブジェクトを返します。 CSSTransformComponent.toString()-
CSS の座標変換関数の形の文字列です。
これは
is2Dの値を使用して、この座標変換が二次元であるか三次元であるかを返します。例えば、コンポーネントがCSSRotateを表し、is2Dが false の場合、返す文字列は CSS 座標変換のrotate3d()関数の形式を取ります。true の場合、返される文字列は二次元のrotate()関数の形になります。
例
To do
仕様書
| Specification |
|---|
| CSS Typed OM Level 1> # csstransformcomponent> |