(extends Object)
Object summary
This object is generated to help, Effect. It provides a new incremented value at each step.
Constructor
Incrementer(intStart,intEnd,intTotalStep,expFactor)
parameters
intStart - The starting value.
intEnd - The value to reach after inTotalSteps steps are taken.
intTotalStep - Total number of steps.
expFactor - Exponential smoothing factor. It can be any double value but its useful range is around 0.5 and 2.5. You may even give it negative values.
comments
Methods
returns
The next value if total number of steps is not exceeded, null otherwise.
comments.
Gets the next step value.
See Also
Usage Examples
Resources
By looking at the chart below you can have a better idea how different exponential smoothing factors affect generation of step values:
Comments (0)
You don't have permission to comment on this page.