Liking cljdoc? Tell your friends :D

web.dom.DOMMatrixReadOnly

The DOMMatrixReadOnly interface represents a 4x4 matrix, suitable 2D and 3D operations. If this interface defines only read-only the web.dom.DOMMatrix interface which inherits from it, add the properties and the methods to allow to have modifiable matrices.

The DOMMatrixReadOnly interface represents a 4x4 matrix, suitable
2D and 3D operations. If this interface defines only read-only
the `web.dom.DOMMatrix` interface which inherits from it, add
the properties and the methods to allow to have modifiable matrices.
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 They are read-only, but their counterpart, with the same name, DOMMatrix aren't.

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
They are read-only, but their counterpart, with the same name,
DOMMatrix aren't.
sourceraw docstring

constructorcljs

(constructor & args)

Constructor.

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

init Optional \tEither a string containing a sequence of numbers or an array of integers specifying the matrix you want to create.

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

Constructor.

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

init Optional
\tEither a string containing a sequence of numbers or an array of integers specifying the matrix you want to create.

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

flip-xcljs

(flip-x this)

Method.

[Experimental]

The flipX() method of the web.dom.DOMMatrixReadOnly interface a new matrix being the result of the original matrix flipped the x-axis.

DOMMatrix.flipX()

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

Method.

[Experimental]

The flipX() method of the `web.dom.DOMMatrixReadOnly` interface
a new matrix being the result of the original matrix flipped
the x-axis.

`DOMMatrix.flipX()`

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

flip-ycljs

(flip-y this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being flipped around the y-axis, that is by the DOMMatrix(1, 0, 0, -1, 0, 0). The original matrix is not

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being flipped around the y-axis, that is
by the DOMMatrix(1, 0, 0, -1, 0, 0). The original matrix is not
sourceraw docstring

inversecljs

(inverse this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being inverted. The original matrix is not If the matrix cannot be inverted, all its components are set NaN and is2D() returns false.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being inverted. The original matrix is not
If the matrix cannot be inverted, all its components are set
NaN and is2D() returns false.
sourceraw docstring

is-identitycljs

(is-identity this)

Property.

Is a Boolean indincating if the matrix identity, that is a matrix 1 on the components of its diagonal, and 0 elsewhere.

Property.

Is a Boolean indincating if the matrix identity, that is a matrix
1 on the components of its diagonal, and 0 elsewhere.
sourceraw docstring

is2dcljs

(is2d this)

Property.

Is a Boolean indicating if the matrix contains a 2D matrix and accept 2D transformations.

Property.

Is a Boolean indicating if the matrix contains a 2D matrix and
accept 2D transformations.
sourceraw docstring

m11cljs

(m11 this)

Property.

Are double representing each component of a 4x4 matrix. They read-only, but their counterpart, with the same name, in DOMMatrix

Property.

Are double representing each component of a 4x4 matrix. They
read-only, but their counterpart, with the same name, in DOMMatrix
sourceraw docstring

multiplycljs

(multiply this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being multiplied by the given DOMMatrix. original matrix is not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being multiplied by the given DOMMatrix.
original matrix is not modified.
sourceraw docstring

rotatecljs

(rotate this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being rotated by the given angle, with the centered on the origin given. The original matrix is not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being rotated by the given angle, with the
centered on the origin given. The original matrix is not modified.
sourceraw docstring

rotate-axis-anglecljs

(rotate-axis-angle this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being rotated by the given angle and the vector. The original matrix is not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being rotated by the given angle and the
vector. The original matrix is not modified.
sourceraw docstring

rotate-from-vectorcljs

(rotate-from-vector this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being rotated by the angle between the given and (1,0), centered on the origin given. The original matrix not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being rotated by the angle between the given
and (1,0), centered on the origin given. The original matrix
not modified.
sourceraw docstring

scalecljs

(scale this & args)

Method.

[Experimental]

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

Method.

[Experimental]

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

scale-non-uniformcljs

(scale-non-uniform this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the matrix x, y and z dimension being scaled by the given factor each dimension, centered on the origin given. The original matrix not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the matrix x, y and z dimension being scaled by the given factor
each dimension, centered on the origin given. The original matrix
not modified.
sourceraw docstring

scale3dcljs

(scale3d this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the matrix x, y and z dimension being scaled by the given factor, on the origin given. The original matrix is not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the matrix x, y and z dimension being scaled by the given factor,
on the origin given. The original matrix is not modified.
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 They are read-only, but their counterpart, with the same name, DOMMatrix aren't.

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
They are read-only, but their counterpart, with the same name,
DOMMatrix aren't.
sourceraw docstring

set-is-identity!cljs

(set-is-identity! this val)

Property.

Is a Boolean indincating if the matrix identity, that is a matrix 1 on the components of its diagonal, and 0 elsewhere.

Property.

Is a Boolean indincating if the matrix identity, that is a matrix
1 on the components of its diagonal, and 0 elsewhere.
sourceraw docstring

set-is2d!cljs

(set-is2d! this val)

Property.

Is a Boolean indicating if the matrix contains a 2D matrix and accept 2D transformations.

Property.

Is a Boolean indicating if the matrix contains a 2D matrix and
accept 2D transformations.
sourceraw docstring

set-m11!cljs

(set-m11! this val)

Property.

Are double representing each component of a 4x4 matrix. They read-only, but their counterpart, with the same name, in DOMMatrix

Property.

Are double representing each component of a 4x4 matrix. They
read-only, but their counterpart, with the same name, in DOMMatrix
sourceraw docstring

skew-xcljs

(skew-x this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being skewed along the x-axis by the given The original matrix is not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being skewed along the x-axis by the given
The original matrix is not modified.
sourceraw docstring

skew-ycljs

(skew-y this & args)

Method.

Returns a DOMMatrix containing a new matrix being the result the original matrix being skewed along the y-axis by the given The original matrix is not modified.

Method.

Returns a DOMMatrix containing a new matrix being the result
the original matrix being skewed along the y-axis by the given
The original matrix is not modified.
sourceraw docstring

to-float32arraycljs

(to-float32array this & args)

Method.

Returns a Float32Array containing the 6 components (a, b, c, e, f) in the case of a 2D matrix or the 16 components (m11, m12, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44) a 3D matrix.

Method.

Returns a Float32Array containing the 6 components (a, b, c,
e, f) in the case of a 2D matrix or the 16 components (m11, m12,
m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44)
a 3D matrix.
sourceraw docstring

to-float64arraycljs

(to-float64array this & args)

Method.

Returns a Float64Array containing the 6 components (a, b, c, e, f) in the case of a 2D matrix or the 16 components (m11, m12, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44) a 3D matrix.

Method.

Returns a Float64Array containing the 6 components (a, b, c,
e, f) in the case of a 2D matrix or the 16 components (m11, m12,
m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44)
a 3D matrix.
sourceraw docstring

to-jsoncljs

(to-json this & args)

Method.

Returns a JSON representation of the DOMMatrixReadOnly object.

Method.

Returns a JSON representation of the DOMMatrixReadOnly object.
sourceraw docstring

to-stringcljs

(to-string this & args)

Method.

Returns a DOMString containing the 6 components separated by ',' and prefixed by the CSS matrix functional notation, as 'matrix b, c, d, e, f)', in the case of a 2D matrix or matrix3d functional and the 16 components,'matrix3d(m11, m12, m13, m14, m21, m22, m24, m31, m32, m33, m34, m41, m42, m43, m44)', for a 3D matrix.

Method.

Returns a DOMString containing the 6 components separated by
',' and prefixed by the CSS matrix functional notation, as 'matrix
b, c, d, e, f)', in the case of a 2D matrix or matrix3d functional
and the 16 components,'matrix3d(m11, m12, m13, m14, m21, m22,
m24, m31, m32, m33, m34, m41, m42, m43, m44)', for a 3D matrix.
sourceraw docstring

transform-pointcljs

(transform-point this & args)

Method.

Returns a DOMPoint that is the point given in parameter multiplied the matrix. But the original point and the matrix aren't modified.

Method.

Returns a DOMPoint that is the point given in parameter multiplied
the matrix. But the original point and the matrix aren't modified.
sourceraw docstring

translatecljs

(translate this & args)

Method.

[Experimental]

The translate() method of the web.dom.DOMMatrixReadOnly interface a new matrix being the result of the original matrix with a translation

`The translate() method accepts two or three values.

DOMMatrix.translate(translateX, translateY[, translateZ])`

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

Method.

[Experimental]

The translate() method of the `web.dom.DOMMatrixReadOnly` interface
a new matrix being the result of the original matrix with a translation

`The translate() method accepts two or three values.



DOMMatrix.translate(translateX, translateY[, translateZ])`

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

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

× close