public interface

Evaluator

com.shinobicontrols.charts.Evaluator<T>
Known Indirect Subclasses

Class Overview

Maps a proportion of an animated quantity to an appropriate value. This value will be of the same type this Evaluator is generically parametrized by.

The value that the proportion is mapped to will depend on the particular implementation. It may, for example, map a proportion to a value between specified start and end values such as the FloatEvaluator does.

The generic nature of this interface means it can be used for any type, given a suitable implementation, and is useful in animating arbitrary properties of objects.

Summary

Public Methods
abstract T evaluate(float proportion)
Returns an appropriate value for the given proportion of an animated quantity.

Public Methods

public abstract T evaluate (float proportion)

Returns an appropriate value for the given proportion of an animated quantity.

Parameters
proportion the proportion of the animated quantity
Returns
  • the value of the animated quantity at the given proportion