Uses of Class
org.htmlunit.javascript.host.dom.DOMMatrix
Packages that use DOMMatrix
Package
Description
Implementations of the DOM JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
-
Uses of DOMMatrix in org.htmlunit.javascript.host.dom
Methods in org.htmlunit.javascript.host.dom that return DOMMatrixModifier and TypeMethodDescriptionprotected DOMMatrixDOMMatrixReadOnly.copyToDOMMatrix()Creates a newDOMMatrixwith the values of this matrix.DOMMatrixReadOnly.flipX()Returns a new matrix being the result of the original matrix flipped about the x-axis.DOMMatrixReadOnly.flipY()Returns a new matrix being the result of the original matrix flipped about the y-axis.static DOMMatrixDOMMatrix.fromFloat32Array(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj) Creates a newDOMMatrixfrom the given Float32Array with 6 (2D) or 16 (3D) values.static DOMMatrixDOMMatrix.fromFloat64Array(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj) Creates a newDOMMatrixfrom the given Float64Array with 6 (2D) or 16 (3D) values.static DOMMatrixDOMMatrix.fromMatrix(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj) Creates a newDOMMatrixfrom the given matrix or matrix properties.DOMMatrixReadOnly.inverse()Returns a new matrix which is the inverse of the original matrix.DOMMatrix.invertSelf()Inverts this matrix.static DOMMatrixDOMMatrix.jsConstructor(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, Object[] args, org.htmlunit.corejs.javascript.Function ctorObj, boolean inNewExpr) JavaScript constructor.Returns a new matrix which is the dot product of the matrix and the given matrix.DOMMatrix.multiplySelf(Object other) Post-multiplies this matrix with the given one (this = this * other).DOMMatrix.preMultiplySelf(Object other) Pre-multiplies this matrix with the given one (this = other * this).Returns a new matrix rotated by the specified angles.DOMMatrixReadOnly.rotateAxisAngle(Object x, Object y, Object z, Object angle) Returns a new matrix rotated by a given angle around the specified axis.DOMMatrix.rotateAxisAngleSelf(Object x, Object y, Object z, Object angle) Rotates this matrix by the given angle around the specified axis.DOMMatrixReadOnly.rotateFromVector(Object x, Object y) Returns a new matrix rotated by the angle between the specified vector and (1, 0).DOMMatrix.rotateFromVectorSelf(Object x, Object y) Rotates this matrix by the angle between the specified vector and (1, 0).DOMMatrix.rotateSelf(Object rotX, Object rotY, Object rotZ) Rotates this matrix by the specified angles.DOMMatrixReadOnly.scale(Object scaleX, Object scaleY, Object scaleZ, Object originX, Object originY, Object originZ) Returns a new matrix scaled by the given factors, centered on the given origin.Returns a new matrix scaled by the given factor for all three axes, centered on the given origin.DOMMatrix.scale3dSelf(Object scale, Object originX, Object originY, Object originZ) Scales all three axes of this matrix by the given factor, centered on the given origin.DOMMatrixReadOnly.scaleNonUniform(Object scaleX, Object scaleY) Returns a new matrix scaled by the given factors for the x- and the y-axis.DOMMatrix.scaleSelf(Object scaleX, Object scaleY, Object scaleZ, Object originX, Object originY, Object originZ) Scales this matrix by the given factors, centered on the given origin.DOMMatrix.setMatrixValue(String transformList) Replaces the values of this matrix with the matrix described by the given CSS transform list (e.g.Returns a new matrix skewed along the x-axis by the specified angle.Skews this matrix along the x-axis by the specified angle.Returns a new matrix skewed along the y-axis by the specified angle.Skews this matrix along the y-axis by the specified angle.Creates a new matrix being the result of the original matrix with a translation applied.DOMMatrix.translateSelf(Object tx, Object ty, Object tz) Applies a translation to this matrix.