public final class AnimationItem extends JavaScriptObjectContainer
Constructor and Description |
---|
AnimationItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
Modifier and Type | Method and Description |
---|---|
double |
getCurrentStep()
Returns the current Animation frame number.
|
Easing |
getEasing()
Returns the animation easing to use.
|
double |
getNumSteps()
Returns the total number of animation frames.
|
checkAndGetDoubleValues, 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, type
public AnimationItem(GenericJavaScriptObject javaScriptObject)
javaScriptObject
- CHART.JS java script objectpublic double getCurrentStep()
UndefinedValues.DOUBLE
.public double getNumSteps()
UndefinedValues.DOUBLE
.