CSSSkew

The CSSSkew interface of the CSS Typed Object Model API represents the skew() value of the individual transform property in CSS.

MDN Reference

Constructors

Link copied to clipboard
constructor(ax: CSSNumericValue, ay: CSSNumericValue)

Properties

Link copied to clipboard
open external var ax: CSSNumericValue

The ax property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).

Link copied to clipboard
open external var ay: CSSNumericValue

The ay property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).

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.