org.apache.batik.anim.values
public class AnimatablePathDataValue extends AnimatableValue
Field Summary | |
---|---|
protected short[] | commands
The path commands. |
protected float[] | parameters
The path parameters. |
protected static char[] | PATH_COMMANDS
The path data commands. |
protected static int[] | PATH_PARAMS
The number of parameters for each path command. |
Constructor Summary | |
---|---|
protected | AnimatablePathDataValue(AnimationTarget target)
Creates a new, uninitialized AnimatablePathDataValue. |
AnimatablePathDataValue(AnimationTarget target, short[] commands, float[] parameters)
Creates a new AnimatablePathDataValue. |
Method Summary | |
---|---|
boolean | canPace()
Returns whether two values of this type can have their distance
computed, as needed by paced animation. |
float | distanceTo(AnimatableValue other)
Returns the absolute distance between this value and the specified other
value. |
short[] | getCommands()
Returns the array of path data commands. |
float[] | getParameters()
Returns the array of path data parameters. |
AnimatableValue | getZeroValue()
Returns a zero value of this AnimatableValue's type. |
AnimatableValue | interpolate(AnimatableValue result, AnimatableValue to, float interpolation, AnimatableValue accumulation, int multiplier)
Performs interpolation to the given value. |
String | toStringRep()
Returns a string representation of this object. |