org.apache.batik.anim
public class MotionAnimation extends InterpolatingAnimation
| Field Summary | |
|---|---|
| protected float[] | keyPoints
The points defining the distance along the path that the
keyTimes apply. |
| protected ExtendedGeneralPath | path
The path that describes the motion. |
| protected PathLength | pathLength
The path length calculation object. |
| protected float | rotateAngle
The angle of rotation (in radians) to use when automatic rotation is
not being used. |
| protected boolean | rotateAuto
Whether automatic rotation should be performed. |
| protected boolean | rotateAutoReverse
Whether the automatic rotation should be reversed. |
| Constructor Summary | |
|---|---|
| MotionAnimation(TimedElement timedElement, AnimatableElement animatableElement, int calcMode, float[] keyTimes, float[] keySplines, boolean additive, boolean cumulative, AnimatableValue[] values, AnimatableValue from, AnimatableValue to, AnimatableValue by, ExtendedGeneralPath path, float[] keyPoints, boolean rotateAuto, boolean rotateAutoReverse, float rotateAngle, short rotateAngleUnit)
Creates a new MotionAnimation. | |
| Method Summary | |
|---|---|
| protected void | sampledAtUnitTime(float unitTime, int repeatIteration)
Called when the element is sampled at the given unit time. |