evaluate
public android.graphics.RectF evaluate(float fraction,
android.graphics.RectF startValue,
android.graphics.RectF endValue)
This function returns the result of linearly interpolating the start and
end Rect values, with fraction
representing the proportion
between the start and end values. The calculation is a simple parametric
calculation on each of the separate components in the RectF objects
(left, top, right, and bottom).
- 指定者:
evaluate
在接口中 android.animation.TypeEvaluator<android.graphics.RectF>
- 参数:
fraction
- The fraction from the starting to the ending values
startValue
- The start RectF
endValue
- The end RectF
- 返回:
- A linear interpolation between the start and end values, given
the
fraction
parameter.