FloatArrayEvaluator.Evaluate(Single, Single[], Single[]) 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[F[F)[F", "GetEvaluate_FarrayFarrayFHandler")]
public virtual float[]? Evaluate (float fraction, float[]? startValue, float[]? endValue);
[<Android.Runtime.Register("evaluate", "(F[F[F)[F", "GetEvaluate_FarrayFarrayFHandler")>]
abstract member Evaluate : single * single[] * single[] -> single[]
override this.Evaluate : single * single[] * single[] -> single[]
Parameters
- fraction
- Single
The fraction from the starting to the ending values
- startValue
- Single[]
The start value.
- endValue
- Single[]
The end value.
Returns
A float[]
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 #FloatArrayEvaluator(float[])
was used to construct this object, reuseArray
will be returned, otherwise a new float[]
will be returned.
Java documentation for android.animation.FloatArrayEvaluator.evaluate(float, float[], float[])
.
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.