org.apache.batik.anim.values
public class AnimatableColorValue extends AnimatableValue
Field Summary | |
---|---|
protected float | blue
The blue component. |
protected float | green
The green component. |
protected float | red
The red component. |
Constructor Summary | |
---|---|
protected | AnimatableColorValue(AnimationTarget target)
Creates a new AnimatableColorValue. |
AnimatableColorValue(AnimationTarget target, float r, float g, float b)
Creates a new AnimatableColorValue. |
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. |
String | getCssText()
Returns the CSS text representation of the value. |
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. |