Back to Content

CSSMatrixComponent

files/en-us/web/api/cssmatrixcomponent/index.md

latest820 B
Original Source

{{APIRef("CSS Typed Object Model API")}}

The CSSMatrixComponent interface of the CSS Typed Object Model API represents the {{cssxref("transform-function/matrix", "matrix()")}} and {{cssxref("transform-function/matrix3d", "matrix3d()")}} values of the individual {{CSSXRef('transform')}} property in CSS. It inherits properties and methods from its parent {{domxref('CSSTransformValue')}}.

{{InheritanceDiagram}}

Constructor

  • {{domxref("CSSMatrixComponent.CSSMatrixComponent", "CSSMatrixComponent()")}}
    • : Creates a new CSSMatrixComponent object.

Instance properties

  • {{domxref('CSSMatrixComponent.matrix','matrix')}}
    • : A {{domxref("DOMMatrix")}} object.

Examples

To do.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}