public class ArgbEvaluator
extends java.lang.Object
implements android.animation.TypeEvaluator
Constructor and Description |
---|
ArgbEvaluator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(float fraction,
java.lang.Object startValue,
java.lang.Object endValue)
This function returns the calculated in-between value for a color
given integers that represent the start and end values in the four
bytes of the 32-bit int.
|
public java.lang.Object evaluate(float fraction, java.lang.Object startValue, java.lang.Object endValue)
evaluate
in interface android.animation.TypeEvaluator
fraction
- The fraction from the starting to the ending valuesstartValue
- A 32-bit int value representing colors in the separate bytes of the
parameterendValue
- A 32-bit int value representing colors in the separate bytes of the
parameter