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

acljs

(a this)

Property.

Are double representing each component of a 4x4 matrix needed 2D rotations and translations. They are aliases for some components the 4x4 matrix: 2D 3D equivalent a m11 b m12 c m21 d m22 e m41 f m42

Property.

Are double representing each component of a 4x4 matrix needed
2D rotations and translations. They are aliases for some components
the 4x4 matrix:
2D
3D equivalent
a
m11
b
m12
c
m21
d
m22
e
m41
f
m42
sourceraw docstring

constructorcljs

(constructor & args)

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

invert-selfcljs

(invert-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being inverted. If the matrix cannot be inverted, its components are set to NaN and is2D() returns false.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being inverted. If the matrix cannot be inverted,
its components are set to NaN and is2D() returns false.
sourceraw docstring

is-identitycljs

(is-identity this)

Property.

A boolean flag returning true if the current matrix is identity.

Property.

A boolean flag returning true if the current matrix is identity.
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

m11cljs

(m11 this)

Property.

Are double representing each component of a 4x4 matrix.

Property.

Are double representing each component of a 4x4 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

pre-multiply-selfcljs

(pre-multiply-self this & args)

Method.

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

Method.

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

rotate-axis-angle-selfcljs

(rotate-axis-angle-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being rotated by the given angle and the vector.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being rotated by the given angle and the
vector.
sourceraw docstring

rotate-from-vector-selfcljs

(rotate-from-vector-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being rotated by the angle between the given and (1,0), centered on the origin given.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being rotated by the angle between the given
and (1,0), centered on the origin given.
sourceraw docstring

rotate-selfcljs

(rotate-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being rotated by the given angle, with the centered on the origin given.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being rotated by the given angle, with the
centered on the origin given.
sourceraw docstring

scale-non-uniform-selfcljs

(scale-non-uniform-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the matrix x, y and z dimension being scaled by the given factor each dimension, centered on the origin given.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the matrix x, y and z dimension being scaled by the given factor
each dimension, centered on the origin given.
sourceraw docstring

scale-selfcljs

(scale-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the matrix x and y dimensions being scaled by the given factor, on the origin given.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the matrix x and y dimensions being scaled by the given factor,
on the origin given.
sourceraw docstring

scale3d-selfcljs

(scale3d-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the matrix x, y and z dimension being scaled by the given factor, on the origin given.

Method.

Returns itself, a DOMMatrix, with its new content being the result
the matrix x, y and z dimension being scaled by the given factor,
on the origin given.
sourceraw docstring

set-a!cljs

(set-a! this val)

Property.

Are double representing each component of a 4x4 matrix needed 2D rotations and translations. They are aliases for some components the 4x4 matrix: 2D 3D equivalent a m11 b m12 c m21 d m22 e m41 f m42

Property.

Are double representing each component of a 4x4 matrix needed
2D rotations and translations. They are aliases for some components
the 4x4 matrix:
2D
3D equivalent
a
m11
b
m12
c
m21
d
m22
e
m41
f
m42
sourceraw docstring

set-is-identity!cljs

(set-is-identity! this val)

Property.

A boolean flag returning true if the current matrix is identity.

Property.

A boolean flag returning true if the current matrix is identity.
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

set-m11!cljs

(set-m11! this val)

Property.

Are double representing each component of a 4x4 matrix.

Property.

Are double representing each component of a 4x4 matrix.
sourceraw docstring

set-matrix-valuecljs

(set-matrix-value this & args)

Method.

Returns itself, a DOMMatrix, with its describing the matrix representing same transformation as the CSS transform functions given in parameter.

Method.

Returns itself, a DOMMatrix, with its describing the matrix representing
same transformation as the CSS transform functions given in parameter.
sourceraw docstring

skew-x-selfcljs

(skew-x-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being skewed along the x-axis by the given

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being skewed along the x-axis by the given
sourceraw docstring

skew-y-selfcljs

(skew-y-self this & args)

Method.

Returns itself, a DOMMatrix, with its new content being the result the original matrix being skewed along the y-axis by the given

Method.

Returns itself, a DOMMatrix, with its new content being the result
the original matrix being skewed along the y-axis by the given
sourceraw docstring

translate-selfcljs

(translate-self this & args)

Method.

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

Method.

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

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

× close