Class AnimateTransform

    • Constructor Detail

      • AnimateTransform

        public AnimateTransform()
        Creates a new instance of Animate
    • Method Detail

      • loaderStartElement

        public void loaderStartElement​(SVGLoaderHelper helper,
                                       org.xml.sax.Attributes attrs,
                                       SVGElement parent)
                                throws org.xml.sax.SAXException
        Description copied from class: SVGElement
        Called during SAX load process to notify that this tag has begun the process of being loaded
        Overrides:
        loaderStartElement in class AnimateXform
        Parameters:
        helper - - An object passed to all SVG elements involved in this build process to aid in sharing information.
        attrs - - Attributes of this tag
        Throws:
        org.xml.sax.SAXException
      • validate

        private double[] validate​(double[] paramList)
        Check list size against current xform type and ensure list is expanded to a standard list size
      • eval

        public java.awt.geom.AffineTransform eval​(java.awt.geom.AffineTransform xform,
                                                  double interp)
        Evaluates this animation element for the passed interpolation time. Interp must be on [0..1].
        Specified by:
        eval in class AnimateXform
      • getValues

        public double[][] getValues()
        Returns:
        the values
      • setValues

        public void setValues​(double[][] values)
        Parameters:
        values - the values to set
      • getKeyTimes

        public double[] getKeyTimes()
        Returns:
        the keyTimes
      • setKeyTimes

        public void setKeyTimes​(double[] keyTimes)
        Parameters:
        keyTimes - the keyTimes to set
      • getAdditive

        public int getAdditive()
        Returns:
        the additive
      • setAdditive

        public void setAdditive​(int additive)
        Parameters:
        additive - the additive to set
      • getXformType

        public int getXformType()
        Returns:
        the xformType
      • setXformType

        public void setXformType​(int xformType)
        Parameters:
        xformType - the xformType to set