public final class Animation extends AbstractItem
| Modifier and Type | Method and Description |
|---|---|
int |
getDuration()
Returns the number of milliseconds an animation takes.
|
Easing |
getEasing()
Returns the animation easing.
|
boolean |
isAnimateRotate()
If true, the chart will animate in with a rotation animation.
|
boolean |
isAnimateScale()
If true, will animate scaling the chart from the center outwards.
|
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 |
setDuration(int milliseconds)
Sets the number of milliseconds an animation takes.
|
void |
setEasing(Easing easing)
Sets the animation easing.
|
checkAndAddToParent, hasPropertycheckAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic void setEasing(Easing easing)
easing - animation easing.Easingpublic Easing getEasing()
Easing.easeOutQuart.Easingpublic void setDuration(int milliseconds)
milliseconds - the number of milliseconds an animation takes.public int getDuration()
public void setAnimateRotate(boolean animateRotate)
animateRotate - If true, the chart will animate in with a rotation animation.public boolean isAnimateRotate()
public void setAnimateScale(boolean animateScale)
animateScale - If true, will animate scaling the chart from the center outwards.public boolean isAnimateScale()