public class SVGMatrix extends HtmlUnitScriptable
SVGMatrix.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 | 
|---|
| SVGMatrix()Creates an instance. | 
| SVGMatrix(Window scope)Instantiates and configure scope and prototype. | 
| Modifier and Type | Method and Description | 
|---|---|
| SVGMatrix | flipX()Transforms the matrix. | 
| SVGMatrix | flipY()Transforms the matrix. | 
| double | getA()Gets the  aentry of the matrix. | 
| double | getB()Gets the  bentry of the matrix. | 
| double | getC()Gets the  centry of the matrix. | 
| double | getD()Gets the  dentry of the matrix. | 
| double | getE()Gets the  eentry of the matrix. | 
| double | getF()Gets the  fentry of the matrix. | 
| SVGMatrix | inverse()Transforms the matrix. | 
| void | jsConstructor()JavaScript constructor. | 
| SVGMatrix | multiply(SVGMatrix by)Transforms the matrix. | 
| SVGMatrix | rotate(double angle)Rotates the matrix. | 
| SVGMatrix | rotateFromVector(double x,
                double y)Transforms the matrix. | 
| SVGMatrix | scale(double factor)Transforms the matrix. | 
| SVGMatrix | scaleNonUniform(double factorX,
               double factorY)Transforms the matrix. | 
| void | setA(double newValue)Sets the  aentry of the matrix. | 
| void | setB(double newValue)Sets the  bentry of the matrix. | 
| void | setC(double newValue)Sets the  centry of the matrix. | 
| void | setD(double newValue)Sets the  dentry of the matrix. | 
| void | setE(double newValue)Sets the  eentry of the matrix. | 
| void | setF(double newValue)Sets the  fentry of the matrix. | 
| SVGMatrix | skewX(double angle)Transforms the matrix. | 
| SVGMatrix | skewY(double angle)Transforms the matrix. | 
| SVGMatrix | translate(double x,
         double y)Translates the matrix. | 
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 SVGMatrix()
public SVGMatrix(Window scope)
scope - the parent scopepublic void jsConstructor()
public double getA()
a entry of the matrix.public double getB()
b entry of the matrix.public double getC()
c entry of the matrix.public double getD()
d entry of the matrix.public double getE()
e entry of the matrix.public double getF()
f entry of the matrix.public void setA(double newValue)
a entry of the matrix.newValue - the new value for the fieldpublic void setB(double newValue)
b entry of the matrix.newValue - the new value for the fieldpublic void setC(double newValue)
c entry of the matrix.newValue - the new value for the fieldpublic void setD(double newValue)
d entry of the matrix.newValue - the new value for the fieldpublic void setE(double newValue)
e entry of the matrix.newValue - the new value for the fieldpublic void setF(double newValue)
f entry of the matrix.newValue - the new value for the fieldpublic SVGMatrix flipX()
public SVGMatrix flipY()
public SVGMatrix inverse()
public SVGMatrix multiply(SVGMatrix by)
by - the matrix to multiply bypublic SVGMatrix rotate(double angle)
angle - the rotation anglepublic SVGMatrix rotateFromVector(double x, double y)
x - the x-coordinate of the vectory - the y-coordinate of the vectorpublic SVGMatrix scale(double factor)
factor - the scale factorpublic SVGMatrix scaleNonUniform(double factorX, double factorY)
factorX - the factor for the x-axisfactorY - the factor for the y-axispublic SVGMatrix skewX(double angle)
angle - the skew anglepublic SVGMatrix skewY(double angle)
angle - the skew anglepublic SVGMatrix translate(double x, double y)
x - the distance along the x-axisy - the distance along the y-axisCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.