java.lang.Object | |
↳ | android.animation.RectEvaluator |
This evaluator can be used to perform type interpolation between
Rect
values.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.animation.TypeEvaluator
|
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 Rect objects
(left, top, right, and bottom).
fraction | The fraction from the starting to the ending values |
---|---|
startValue | The start Rect |
endValue | The end Rect |
fraction
parameter.