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.
(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
(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
(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.
(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.
(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
(m11 this)
Property.
Are double representing each component of a 4x4 matrix.
Property. Are double representing each component of a 4x4 matrix.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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
(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.
(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
(set-m11! this val)
Property.
Are double representing each component of a 4x4 matrix.
Property. Are double representing each component of a 4x4 matrix.
(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.
(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
(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close