Liking cljdoc? Tell your friends :D

web.dom.DOMMatrix

The DOMMatrix interface represents 4x4 matrices, suitable for and 3D operations including rotation and translation.

The DOMMatrix interface represents 4x4 matrices, suitable for
and 3D operations including rotation and translation.
raw docstring

constructorcljs

Constructor.

The DOMMatrix constructor creates a new web.dom.DOMMatrix object which represents 4x4 matrices, suitable for 2D and 3D operations..

init Optional A string containing a sequence of numbers or an array of numbers specifying the matrix you want to create, or a CSS transform string.

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix

Constructor.

The DOMMatrix constructor creates a new `web.dom.DOMMatrix` object which represents 4x4 matrices, suitable for 2D and 3D operations..

init Optional
A string containing a sequence of numbers or an array of numbers specifying the matrix you want to create, or a CSS transform string.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix`
sourceraw docstring

from-matrixcljs

(from-matrix this & args)

Method.

Creates a new mutable DOMMatrix object given an existing matrix a DOMMatrixInit dictionary which provides the values for its

Method.

Creates a new mutable DOMMatrix object given an existing matrix
a DOMMatrixInit dictionary which provides the values for its
sourceraw docstring

is2dcljs

(is2d this)

Property.

A boolean flag set to true if current matrix was initialized a 2D matrix

Property.

A boolean flag set to true if current matrix was initialized
a 2D matrix
sourceraw docstring

multiply-selfcljs

(multiply-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being multiplied by the given DOMMatrix.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being multiplied by the given DOMMatrix.
sourceraw docstring

set-is2d!cljs

(set-is2d! this val)

Property.

A boolean flag set to true if current matrix was initialized a 2D matrix

Property.

A boolean flag set to true if current matrix was initialized
a 2D matrix
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close