org.apache.batik.anim.values

Class AnimatablePointListValue

public class AnimatablePointListValue extends AnimatableNumberListValue

An SVG point list value in the animation system.
Constructor Summary
protected AnimatablePointListValue(AnimationTarget target)
Creates a new, uninitialized AnimatablePointListValue.
AnimatablePointListValue(AnimationTarget target, float[] numbers)
Creates a new AnimatablePointListValue.
Method Summary
booleancanPace()
Returns whether two values of this type can have their distance computed, as needed by paced animation.
floatdistanceTo(AnimatableValue other)
Returns the absolute distance between this value and the specified other value.
AnimatableValuegetZeroValue()
Returns a zero value of this AnimatableValue's type.
AnimatableValueinterpolate(AnimatableValue result, AnimatableValue to, float interpolation, AnimatableValue accumulation, int multiplier)
Performs interpolation to the given value.

Constructor Detail

AnimatablePointListValue

protected AnimatablePointListValue(AnimationTarget target)
Creates a new, uninitialized AnimatablePointListValue.

AnimatablePointListValue

public AnimatablePointListValue(AnimationTarget target, float[] numbers)
Creates a new AnimatablePointListValue.

Method Detail

canPace

public boolean canPace()
Returns whether two values of this type can have their distance computed, as needed by paced animation.

distanceTo

public float distanceTo(AnimatableValue other)
Returns the absolute distance between this value and the specified other value.

getZeroValue

public AnimatableValue getZeroValue()
Returns a zero value of this AnimatableValue's type.

interpolate

public AnimatableValue interpolate(AnimatableValue result, AnimatableValue to, float interpolation, AnimatableValue accumulation, int multiplier)
Performs interpolation to the given value.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.