public class TransformAnimation extends SimpleAnimation
| Modifier and Type | Field | Description |
|---|---|---|
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.
|
animatableElement, beginTime, CALC_MODE_DISCRETE, CALC_MODE_LINEAR, CALC_MODE_PACED, CALC_MODE_SPLINE, composedValue, higherAnimation, isActive, isDirty, isFrozen, lowerAnimation, timedElement, toAnimation, usesUnderlyingValue, valueadditive, calcMode, cumulative, keySplineCubics, keySplines, keyTimesby, from, to, values| Constructor | Description |
|---|---|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
sampledAtUnitTime(float unitTime,
int repeatIteration) |
Called when the element is sampled at the given unit time.
|
getComposedValue, getTimedElement, getValue, markDirty, toString, usesUnderlyingValuesampledAt, sampledLastValue, willReplaceprotected short type
SVGTransform.protected float[] keyTimes2
protected float[] keyTimes3
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)
protected void sampledAtUnitTime(float unitTime,
int repeatIteration)
AbstractAnimation.value of the animation if active.sampledAtUnitTime in class SimpleAnimationCopyright ? 2018 Apache Software Foundation. All Rights Reserved.