Namespace: Animations

StockChartX. Animations

Represents global animations controller.

Methods


<static> add(animation)

Adds animation.
Parameters:
Name Type Description
animation StockChartX.Animation The animation to be added.
Returns:
True if animation has been added, false otherwise.
Type
boolean

<static> contains(animation)

Checks if a given animation exists in the list of animations.
Parameters:
Name Type Description
animation StockChartX.Animation The animation.
Returns:
Type
boolean

<static> hasAnimationsToRun()

Checks if there is at least one animation to run.
Returns:
Type
boolean

<static> remove(animation)

Removes animation.
Parameters:
Name Type Description
animation StockChartX.Animation The animation to be removed.
Returns:
True if animation has been removed, false otherwise.
Type
boolean