public class

DelayBounceWithMinimumAnimationCurve

extends AnimationCurve
java.lang.Object
   ↳ com.shinobicontrols.charts.AnimationCurve
     ↳ com.shinobicontrols.charts.DelayBounceWithMinimumAnimationCurve

Class Overview

This AnimationCurve describes a curve similar to that of the BounceAnimationCurve but at the start the curve is constant at 0.1. This is the delay where there is no change. The bounce occurs over a shorter proportion of the progress (50%) at the end. The important difference between this curve and the DelayBounceAnimationCurve is that this curve never returns 0.0 during the delay; it returns to 0.1 which means that the series will be visible.

Summary

Public Constructors
DelayBounceWithMinimumAnimationCurve()
Public Methods
float proportionAtProgress(float progress)
Returns the proportion of an animated quantity at the given progress through an Animation.
float valueAtTime(float time)
This method is deprecated. as of version 1.9.1, replaced by proportionAtProgress(float), normalized time and progress are equivalent
[Expand]
Inherited Methods
From class com.shinobicontrols.charts.AnimationCurve
From class java.lang.Object

Public Constructors

public DelayBounceWithMinimumAnimationCurve ()

Public Methods

public float proportionAtProgress (float progress)

Returns the proportion of an animated quantity at the given progress through an Animation. The proportion represents the normalized value of the animated quantity between its beginning and end positions where 0.0 is the start state and 1.0 is, nominally, the end state. It is valid to return a value v where either v < 0.0 or v > 1.0 and it is not necessary to return 1.0 at progress 1.0.

Parameters
progress a value between 0.0 and 1.0, where 0.0 is the beginning of the animation and 1.0 is the end of the animation
Returns
  • the proportion of the animated quantity between its beginning and end positions

public float valueAtTime (float time)

This method is deprecated.
as of version 1.9.1, replaced by proportionAtProgress(float), normalized time and progress are equivalent

Returns the (normalized) value for the animation curve at the given (normalized) time.

Parameters
time Time is provided as a float between 0.f and 1.0f, where 0.0f is the beginning of the animation and 1.0f is the end of the animation. (time = elapsed time / duration)
Returns
  • The progress of the animated quantity between its beginning and end positions, where 0.0f is the start state and 1.0f is, nominally, the end state. It is valid to return a value v where either v < 0.0f or v > 1.0f and it not necessary to return 1.0f at time 1.0f.