Android.Animation.IntEvaluator.Evaluate Method
This function returns the result of linearly interpolating the start and end values, with fraction representing the proportion between the start and end values.

Syntax

[Android.Runtime.Register("evaluate", "(FLjava/lang/Integer;Ljava/lang/Integer;)Ljava/lang/Integer;", "GetEvaluate_FLjava_lang_Integer_Ljava_lang_Integer_Handler")]
public virtual Java.Lang.Integer Evaluate (float fraction, Java.Lang.Integer startValue, Java.Lang.Integer endValue)

Parameters

fraction
The fraction from the starting to the ending values
startValue
The start value; should be of type int or Integer
endValue
The end value; should be of type int or Integer

Returns

Documentation for this section has not yet been entered.

Remarks

This function returns the result of linearly interpolating the start and end values, with fraction representing the proportion between the start and end values. The calculation is a simple parametric calculation: result = x0 + t * (v1 - v0), where x0 is startValue, x1 is endValue, and t is fraction.

[Android Documentation]

Requirements

Namespace: Android.Animation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14