org.apache.batik.anim.values
public class AnimatablePreserveAspectRatioValue extends AnimatableValue
Field Summary | |
---|---|
protected static String[] | ALIGN_VALUES
Strings for the 'align' values. |
protected short | align
The align value. |
protected short | meetOrSlice
The meet-or-slice value. |
protected static String[] | MEET_OR_SLICE_VALUES
Strings for the 'meet-or-slice' values. |
Constructor Summary | |
---|---|
protected | AnimatablePreserveAspectRatioValue(AnimationTarget target)
Creates a new, uninitialized AnimatablePreserveAspectRatioValue. |
AnimatablePreserveAspectRatioValue(AnimationTarget target, short align, short meetOrSlice)
Creates a new AnimatablePreserveAspectRatioValue. |
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 | getAlign()
Returns the align value. |
short | getMeetOrSlice()
Returns the meet-or-slice 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. |
String | toStringRep()
Returns a string representation of this object. |