CSSTransformComponent

The CSSTransformComponent interface of the CSS Typed Object Model API is the base interface for objects that represent individual transform functions, such as rotate() and scale().

MDN Reference

Inheritors

Properties

Link copied to clipboard
open external var is2D: Boolean

The is2D property of the CSSTransformComponent interface represents whether the transform is 2D or 3D.

Functions

Link copied to clipboard
open external fun toMatrix(): DOMMatrix

The toMatrix() method of the CSSTransformComponent interface returns a DOMMatrix object.