org.apache.batik.anim.values
public class AnimatableRectValue extends AnimatableValue
Field Summary | |
---|---|
protected float | height
The height. |
protected float | width
The width. |
protected float | x
The x coordinate. |
protected float | y
The y coordinate. |
Constructor Summary | |
---|---|
protected | AnimatableRectValue(AnimationTarget target)
Creates a new, uninitialized AnimatableRectValue. |
AnimatableRectValue(AnimationTarget target, float x, float y, float w, float h)
Creates a new AnimatableRectValue with one number. |
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. |
float | getHeight()
Returns the height. |
float | getWidth()
Returns the width. |
float | getX()
Returns the x coordinate. |
float | getY()
Returns the y coordinate. |
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. |