java.lang.Object
io.sf.carte.echosvg.anim.AbstractAnimation
io.sf.carte.echosvg.anim.InterpolatingAnimation
io.sf.carte.echosvg.anim.SimpleAnimation
io.sf.carte.echosvg.anim.TransformAnimation
An animation class for 'animateTransform' animations.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected float[]Time values to control the pacing of the second component of the animation.protected float[]Time values to control the pacing of the third component of the animation.protected shortThe transform type.Fields inherited from class io.sf.carte.echosvg.anim.SimpleAnimationby, from, to, valuesFields inherited from class io.sf.carte.echosvg.anim.InterpolatingAnimationadditive, calcMode, cumulative, keySplineCubics, keySplines, keyTimesFields inherited from class io.sf.carte.echosvg.anim.AbstractAnimationanimatableElement, beginTime, CALC_MODE_DISCRETE, CALC_MODE_LINEAR, CALC_MODE_PACED, CALC_MODE_SPLINE, composedValue, higherAnimation, isActive, isDirty, isFrozen, lowerAnimation, timedElement, toAnimation, usesUnderlyingValue, value
- 
Constructor SummaryConstructorsConstructorDescriptionTransformAnimation(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 SummaryModifier and TypeMethodDescriptionprotected voidsampledAtUnitTime(float unitTime, int repeatIteration) Called when the element is sampled at the given unit time.Methods inherited from class io.sf.carte.echosvg.anim.InterpolatingAnimationsampledAt, sampledLastValue, willReplaceMethods inherited from class io.sf.carte.echosvg.anim.AbstractAnimationgetComposedValue, getTimedElement, getValue, markDirty, toString, usesUnderlyingValue
- 
Field Details- 
typeprotected short typeThe transform type. This should take one of the constants defined inSVGTransform.
- 
keyTimes2protected float[] keyTimes2Time values to control the pacing of the second component of the animation.
- 
keyTimes3protected float[] keyTimes3Time values to control the pacing of the third component of the animation.
 
- 
- 
Constructor Details- 
TransformAnimationpublic 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 Details- 
sampledAtUnitTimeprotected void sampledAtUnitTime(float unitTime, int repeatIteration) Called when the element is sampled at the given unit time. This updates theAbstractAnimation.valueof the animation if active.- Overrides:
- sampledAtUnitTimein class- SimpleAnimation
 
 
-