public class DOMMatrixReadOnly extends HtmlUnitScriptable
DOMMatrixReadOnly.org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunctionCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
DOMMatrixReadOnly()
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
DOMMatrix |
flipX() |
DOMMatrix |
flipY() |
double |
getA() |
double |
getB() |
double |
getC() |
double |
getD() |
double |
getE() |
double |
getF() |
double |
getM11() |
double |
getM12() |
double |
getM13() |
double |
getM14() |
double |
getM21() |
double |
getM22() |
double |
getM23() |
double |
getM24() |
double |
getM31() |
double |
getM32() |
double |
getM33() |
double |
getM34() |
double |
getM41() |
double |
getM42() |
double |
getM43() |
double |
getM44() |
protected void |
init(Object[] args,
org.htmlunit.corejs.javascript.Function ctorObj) |
DOMMatrix |
inverse() |
boolean |
isIs2D() |
static DOMMatrixReadOnly |
jsConstructor(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
Object[] args,
org.htmlunit.corejs.javascript.Function ctorObj,
boolean inNewExpr)
JavaScript constructor.
|
DOMMatrix |
multiply(Object other) |
DOMMatrixReadOnly |
rotate(Object rotZ) |
DOMMatrixReadOnly |
rotateAxisAngle(Object xObj,
Object yObj,
Object zObj,
Object alphaObj)
Rotates the matrix by a given angle around the specified axis.
|
void |
setIs2D(boolean is2D) |
void |
setM11(double m11) |
void |
setM12(double m12) |
void |
setM13(double m13) |
void |
setM14(double m14) |
void |
setM21(double m21) |
void |
setM22(double m22) |
void |
setM23(double m23) |
void |
setM24(double m24) |
void |
setM31(double m31) |
void |
setM32(double m32) |
void |
setM33(double m33) |
void |
setM34(double m34) |
void |
setM41(double m41) |
void |
setM42(double m42) |
void |
setM43(double m43) |
void |
setM44(double m44) |
DOMMatrixReadOnly |
skewX(Object alphaObj) |
DOMMatrixReadOnly |
skewY(Object alphaObj) |
org.htmlunit.corejs.javascript.typedarrays.NativeFloat32Array |
toFloat32Array() |
org.htmlunit.corejs.javascript.typedarrays.NativeFloat64Array |
toFloat64Array() |
DOMMatrixReadOnly |
translate(Object xObj,
Object yObj,
Object zObj)
Creates a new matrix being the result of the original matrix with a translation applied.
|
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getWindow, getWindow, getWindowFromTopCallScope, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromiseapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkSlotRemoval, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, sizecreateSlotMappublic static DOMMatrixReadOnly jsConstructor(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, Object[] args, org.htmlunit.corejs.javascript.Function ctorObj, boolean inNewExpr)
cx - the current contextscope - the scopeargs - the arguments to the WebSocket constructorctorObj - the function objectinNewExpr - Is new or notprotected void init(Object[] args, org.htmlunit.corejs.javascript.Function ctorObj)
public double getM11()
public void setM11(double m11)
m11 - the new valuepublic double getA()
public double getM12()
public void setM12(double m12)
m12 - the new valuepublic double getB()
public double getM13()
public void setM13(double m13)
m13 - the new valuepublic double getM14()
public void setM14(double m14)
m14 - the new valuepublic double getM21()
public void setM21(double m21)
m21 - the new valuepublic double getC()
public double getM22()
public void setM22(double m22)
m22 - the new valuepublic double getD()
public double getM23()
public void setM23(double m23)
m23 - the new valuepublic double getM24()
public void setM24(double m24)
m24 - the new valuepublic double getM31()
public void setM31(double m31)
m31 - the new valuepublic double getM32()
public void setM32(double m32)
m32 - the new valuepublic double getM33()
public void setM33(double m33)
m33 - the new valuepublic double getM34()
public void setM34(double m34)
m34 - the new valuepublic double getM41()
public void setM41(double m41)
m41 - the new valuepublic double getE()
public double getM42()
public void setM42(double m42)
m42 - the new valuepublic double getF()
public double getM43()
public void setM43(double m43)
m43 - the new valuepublic double getM44()
public void setM44(double m44)
m44 - the new valuepublic boolean isIs2D()
public void setIs2D(boolean is2D)
is2D - the new valuepublic DOMMatrix flipX()
public DOMMatrix flipY()
public DOMMatrix inverse()
public DOMMatrix multiply(Object other)
other - the matrix to multiply with this matrixpublic DOMMatrixReadOnly rotate(Object rotZ)
rotZ - the rotation angle in degrees. If omitted, defaults to 0.public DOMMatrixReadOnly rotateAxisAngle(Object xObj, Object yObj, Object zObj, Object alphaObj)
xObj - the x component of the axisyObj - the y component of the axiszObj - the z component of the axisalphaObj - the rotation angle in degreespublic DOMMatrixReadOnly skewX(Object alphaObj)
alphaObj - the angle, in degrees, by which to skew the matrix along the x-axispublic DOMMatrixReadOnly skewY(Object alphaObj)
alphaObj - the angle, in degrees, by which to skew the matrix along the y-axispublic DOMMatrixReadOnly translate(Object xObj, Object yObj, Object zObj)
xObj - a number representing the abscissa (x-coordinate) of the translating vectoryObj - a number representing the ordinate (y-coordinate) of the translating vectorzObj - A number representing the z component of the translating vector. If not supplied,
this defaults to 0. If this is anything other than 0, the resulting matrix will be 3Dpublic org.htmlunit.corejs.javascript.typedarrays.NativeFloat32Array toFloat32Array()
public org.htmlunit.corejs.javascript.typedarrays.NativeFloat64Array toFloat64Array()
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.