IntArrayEvaluator.Evaluate(Single, Int32[], Int32[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interpolates the value at each index by the fraction.
[Android.Runtime.Register("evaluate", "(F[I[I)[I", "GetEvaluate_FarrayIarrayIHandler")]
public virtual int[]? Evaluate (float fraction, int[]? startValue, int[]? endValue);
[<Android.Runtime.Register("evaluate", "(F[I[I)[I", "GetEvaluate_FarrayIarrayIHandler")>]
abstract member Evaluate : single * int[] * int[] -> int[]
override this.Evaluate : single * int[] * int[] -> int[]
Parameters
- fraction
- Single
The fraction from the starting to the ending values
- startValue
- Int32[]
The start value.
- endValue
- Int32[]
The end value.
Returns
An int[]
where each element is an interpolation between
the same index in startValue and endValue.
- Attributes
Remarks
Interpolates the value at each index by the fraction. If #IntArrayEvaluator(int[])
was used to construct this object, reuseArray
will be returned, otherwise a new int[]
will be returned.
Java documentation for android.animation.IntArrayEvaluator.evaluate(float, int[], int[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.