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.
(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.
(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`
(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
(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.
(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.
(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.
(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
(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.
(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.
(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.
(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.
(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`
(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.
(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.
(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.
(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.
(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.
(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
(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.
(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.
(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.
(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.
(to-json this & args)
Method.
Returns a JSON representation of the DOMMatrixReadOnly object.
Method. Returns a JSON representation of the DOMMatrixReadOnly object.
(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.
(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.
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close