CSSScale

open class CSSScale(var x: CSSNumberish, var y: CSSNumberish, var z: CSSNumberish = definedExternally) : CSSTransformComponent(source)

The CSSScale interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS.

MDN Reference

Constructors

Link copied to clipboard
constructor(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish = definedExternally)

Properties

Link copied to clipboard

The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.

Link copied to clipboard

The x property of the translating vector.

Link copied to clipboard

The y property of the translating vector.

Link copied to clipboard

The z property of the vector.

Functions

Link copied to clipboard

The toMatrix() method of the object.