public interface IsAnimation extends IsDefaultAnimation
Modifier and Type | Method and Description |
---|---|
void |
setAnimateRotate(boolean animateRotate)
If
true , the chart will animate in with a rotation animation. |
void |
setAnimateScale(boolean animateScale)
If
true , will animate scaling the chart from the center outwards. |
void |
setDelay(DelayCallback delayCallback)
Sets the delay before starting the animations by a callback.
|
void |
setDelay(int delay)
Sets the delay before starting the animations.
|
void |
setDelay(NativeCallback delayCallback)
Sets the delay before starting the animations by a callback.
|
void |
setDuration(DurationCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.
|
void |
setDuration(int milliseconds)
Sets the number of milliseconds an animation takes.
|
void |
setDuration(NativeCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.
|
void |
setEasing(Easing easing)
Sets the animation easing.
|
void |
setEasing(EasingCallback easingCallback)
Sets the animation easing by a callback.
|
void |
setEasing(NativeCallback easingCallback)
Sets the animation easing by a callback.
|
void |
setLoop(boolean loop)
If set to
true , loops the animations endlessly. |
void |
setLoop(LoopCallback loopCallback)
Sets to loop the animations endlessly by a callback.
|
void |
setLoop(NativeCallback loopCallback)
Sets to loop the animations endlessly by a callback.
|
isAnimateRotate, isAnimateScale
getDelay, getDelayCallback, getDuration, getDurationCallback, getEasing, getEasingCallback, getLoopCallback, isLoop
void setAnimateRotate(boolean animateRotate)
true
, the chart will animate in with a rotation animation.animateRotate
- If true
, the chart will animate in with a rotation animation.void setAnimateScale(boolean animateScale)
true
, will animate scaling the chart from the center outwards.animateScale
- If true
, will animate scaling the chart from the center outwards.void setEasing(Easing easing)
easing
- animation easing.void setDuration(int milliseconds)
milliseconds
- the number of milliseconds an animation takes.void setDelay(int delay)
delay
- the delay before starting the animationsvoid setLoop(boolean loop)
true
, loops the animations endlessly.loop
- true
if loops the animations endlessly.void setDuration(DurationCallback durationCallback)
durationCallback
- the callback instance to usevoid setDuration(NativeCallback durationCallback)
durationCallback
- the callback instance to usevoid setDelay(DelayCallback delayCallback)
delayCallback
- the callback instance to usevoid setDelay(NativeCallback delayCallback)
delayCallback
- the callback instance to usevoid setLoop(LoopCallback loopCallback)
loopCallback
- the callback instance to usevoid setLoop(NativeCallback loopCallback)
loopCallback
- the callback instance to usevoid setEasing(EasingCallback easingCallback)
easingCallback
- the callback instance to usevoid setEasing(NativeCallback easingCallback)
easingCallback
- the callback instance to use