FloatArrayEvaluator.Evaluate(Single, Single[], Single[]) Method

Definition

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

Single[]

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.

Applies to