Class TransformAnimation


  • public class TransformAnimation
    extends SimpleAnimation
    An animation class for 'animateTransform' animations.
    Version:
    $Id: TransformAnimation.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Detail

      • type

        protected short type
        The transform type. This should take one of the constants defined in SVGTransform.
      • keyTimes2

        protected float[] keyTimes2
        Time values to control the pacing of the second component of the animation.
      • keyTimes3

        protected float[] keyTimes3
        Time values to control the pacing of the third component of the animation.
    • Method Detail

      • sampledAtUnitTime

        protected void sampledAtUnitTime​(float unitTime,
                                         int repeatIteration)
        Called when the element is sampled at the given unit time. This updates the AbstractAnimation.value of the animation if active.
        Overrides:
        sampledAtUnitTime in class SimpleAnimation