| java.lang.Object org.apache.batik.anim.AbstractAnimation org.apache.batik.anim.InterpolatingAnimation org.apache.batik.anim.SimpleAnimation org.apache.batik.anim.TransformAnimation
TransformAnimation | public class TransformAnimation extends SimpleAnimation (Code) | | An animation class for 'animateTransform' animations.
author: Cameron McCormack version: $Id: TransformAnimation.java 492528 2007-01-04 11:45:47Z cam $ |
Field Summary | |
protected float[] | keyTimes2 Time values to control the pacing of the second component of the
animation. | protected float[] | keyTimes3 Time values to control the pacing of the third component of the
animation. | protected short | type The transform type. |
Constructor Summary | |
public | TransformAnimation(TimedElement timedElement, AnimatableElement animatableElement, int calcMode, float[] keyTimes, float[] keySplines, boolean additive, boolean cumulative, AnimatableValue[] values, AnimatableValue from, AnimatableValue to, AnimatableValue by, short type) Creates a new TransformAnimation. |
Method Summary | |
protected void | sampledAtUnitTime(float unitTime, int repeatIteration) Called when the element is sampled at the given unit time. |
keyTimes2 | protected float[] keyTimes2(Code) | | Time values to control the pacing of the second component of the
animation.
|
keyTimes3 | protected float[] keyTimes3(Code) | | Time values to control the pacing of the third component of the
animation.
|
type | protected short type(Code) | | The transform type. This should take one of the constants defined
in
org.w3c.dom.svg.SVGTransform .
|
TransformAnimation | public TransformAnimation(TimedElement timedElement, AnimatableElement animatableElement, int calcMode, float[] keyTimes, float[] keySplines, boolean additive, boolean cumulative, AnimatableValue[] values, AnimatableValue from, AnimatableValue to, AnimatableValue by, short type)(Code) | | Creates a new TransformAnimation.
|
sampledAtUnitTime | protected void sampledAtUnitTime(float unitTime, int repeatIteration)(Code) | | Called when the element is sampled at the given unit time. This updates
the
TransformAnimation.value of the animation if active.
|
Methods inherited from org.apache.batik.anim.SimpleAnimation | protected void sampledAtUnitTime(float unitTime, int repeatIteration)(Code)(Java Doc)
|
Methods inherited from org.apache.batik.anim.InterpolatingAnimation | protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration)(Code)(Java Doc) abstract protected void sampledAtUnitTime(float unitTime, int repeatIteration)(Code)(Java Doc) protected void sampledLastValue(int repeatIteration)(Code)(Java Doc) protected boolean willReplace()(Code)(Java Doc)
|
|
|