Class Animate

    • Field Detail

      • dataType

        int dataType
      • fromValue

        private double fromValue
      • toValue

        private double toValue
      • byValue

        private double byValue
      • valuesValue

        private double[] valuesValue
      • fromColor

        private java.awt.Color fromColor
      • toColor

        private java.awt.Color toColor
      • fromPath

        private java.awt.geom.GeneralPath fromPath
      • toPath

        private java.awt.geom.GeneralPath toPath
    • Constructor Detail

      • Animate

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

      • getDataType

        public int getDataType()
      • 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 AnimateBase
        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
      • eval

        public double eval​(double interp)
        Evaluates this animation element for the passed interpolation time. Interp must be on [0..1].
      • evalPath

        public java.awt.geom.GeneralPath evalPath​(double interp)
      • repeatSkipSize

        public double repeatSkipSize​(int reps)
        If this element is being accumulated, detemine the delta to accumulate by
      • getFromValue

        public double getFromValue()
        Returns:
        the fromValue
      • setFromValue

        public void setFromValue​(double fromValue)
        Parameters:
        fromValue - the fromValue to set
      • getToValue

        public double getToValue()
        Returns:
        the toValue
      • setToValue

        public void setToValue​(double toValue)
        Parameters:
        toValue - the toValue to set
      • getByValue

        public double getByValue()
        Returns:
        the byValue
      • setByValue

        public void setByValue​(double byValue)
        Parameters:
        byValue - the byValue to set
      • getValuesValue

        public double[] getValuesValue()
        Returns:
        the valuesValue
      • setValuesValue

        public void setValuesValue​(double[] valuesValue)
        Parameters:
        valuesValue - the valuesValue to set
      • getFromColor

        public java.awt.Color getFromColor()
        Returns:
        the fromColor
      • setFromColor

        public void setFromColor​(java.awt.Color fromColor)
        Parameters:
        fromColor - the fromColor to set
      • getToColor

        public java.awt.Color getToColor()
        Returns:
        the toColor
      • setToColor

        public void setToColor​(java.awt.Color toColor)
        Parameters:
        toColor - the toColor to set
      • getFromPath

        public java.awt.geom.GeneralPath getFromPath()
        Returns:
        the fromPath
      • setFromPath

        public void setFromPath​(java.awt.geom.GeneralPath fromPath)
        Parameters:
        fromPath - the fromPath to set
      • getToPath

        public java.awt.geom.GeneralPath getToPath()
        Returns:
        the toPath
      • setToPath

        public void setToPath​(java.awt.geom.GeneralPath toPath)
        Parameters:
        toPath - the toPath to set