JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.host.svg

Class SVGMatrix

    • Field Summary

      • Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors
      Constructor and Description
      SVGMatrix ()
      Creates an instance.
      SVGMatrix (Window scope)
      Instantiates and configure scope and prototype.
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      SVGMatrix flipX ()
      Transforms the matrix.
      SVGMatrix flipY ()
      Transforms the matrix.
      double getA ()
      Gets the a entry of the matrix.
      double getB ()
      Gets the b entry of the matrix.
      double getC ()
      Gets the c entry of the matrix.
      double getD ()
      Gets the d entry of the matrix.
      double getE ()
      Gets the e entry of the matrix.
      double getF ()
      Gets the f entry 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 a entry of the matrix.
      void setB (double newValue)
      Sets the b entry of the matrix.
      void setC (double newValue)
      Sets the c entry of the matrix.
      void setD (double newValue)
      Sets the d entry of the matrix.
      void setE (double newValue)
      Sets the e entry of the matrix.
      void setF (double newValue)
      Sets the f entry 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.
      • Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChangeForSlot, checkPropertyDefinition, 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, isEmpty, isExtensible, isFalse, isGenericDescriptor, 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, size
      • Methods inherited from class org.htmlunit.corejs.javascript.SlotMapOwner

        createSlotMap
    • Constructor Detail

      • SVGMatrix

        public SVGMatrix()
        Creates an instance.
      • SVGMatrix

        public SVGMatrix(Window scope)
        Instantiates and configure scope and prototype.
        Parameters:
        scope - the parent scope
    • Method Detail

      • jsConstructor

        public void jsConstructor()
        JavaScript constructor.
      • getA

        public double getA()
        Gets the a entry of the matrix.
        Returns:
        the field
      • getB

        public double getB()
        Gets the b entry of the matrix.
        Returns:
        the field
      • getC

        public double getC()
        Gets the c entry of the matrix.
        Returns:
        the field
      • getD

        public double getD()
        Gets the d entry of the matrix.
        Returns:
        the field
      • getE

        public double getE()
        Gets the e entry of the matrix.
        Returns:
        the field
      • getF

        public double getF()
        Gets the f entry of the matrix.
        Returns:
        the field
      • setA

        public void setA(double newValue)
        Sets the a entry of the matrix.
        Parameters:
        newValue - the new value for the field
      • setB

        public void setB(double newValue)
        Sets the b entry of the matrix.
        Parameters:
        newValue - the new value for the field
      • setC

        public void setC(double newValue)
        Sets the c entry of the matrix.
        Parameters:
        newValue - the new value for the field
      • setD

        public void setD(double newValue)
        Sets the d entry of the matrix.
        Parameters:
        newValue - the new value for the field
      • setE

        public void setE(double newValue)
        Sets the e entry of the matrix.
        Parameters:
        newValue - the new value for the field
      • setF

        public void setF(double newValue)
        Sets the f entry of the matrix.
        Parameters:
        newValue - the new value for the field
      • flipX

        public SVGMatrix flipX()
        Transforms the matrix.
        Returns:
        the resulting matrix
      • flipY

        public SVGMatrix flipY()
        Transforms the matrix.
        Returns:
        the resulting matrix
      • inverse

        public SVGMatrix inverse()
        Transforms the matrix.
        Returns:
        the resulting matrix
      • multiply

        public SVGMatrix multiply(SVGMatrix by)
        Transforms the matrix.
        Parameters:
        by - the matrix to multiply by
        Returns:
        the resulting matrix
      • rotate

        public SVGMatrix rotate(double angle)
        Rotates the matrix.
        Parameters:
        angle - the rotation angle
        Returns:
        the resulting matrix
      • rotateFromVector

        public SVGMatrix rotateFromVector(double x,
         double y)
        Transforms the matrix.
        Parameters:
        x - the x-coordinate of the vector
        y - the y-coordinate of the vector
        Returns:
        the resulting matrix
      • scale

        public SVGMatrix scale(double factor)
        Transforms the matrix.
        Parameters:
        factor - the scale factor
        Returns:
        the resulting matrix
      • scaleNonUniform

        public SVGMatrix scaleNonUniform(double factorX,
         double factorY)
        Transforms the matrix.
        Parameters:
        factorX - the factor for the x-axis
        factorY - the factor for the y-axis
        Returns:
        the resulting matrix
      • skewX

        public SVGMatrix skewX(double angle)
        Transforms the matrix.
        Parameters:
        angle - the skew angle
        Returns:
        the resulting matrix
      • skewY

        public SVGMatrix skewY(double angle)
        Transforms the matrix.
        Parameters:
        angle - the skew angle
        Returns:
        the resulting matrix
      • translate

        public SVGMatrix translate(double x,
         double y)
        Translates the matrix.
        Parameters:
        x - the distance along the x-axis
        y - the distance along the y-axis
        Returns:
        the resulting matrix
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /