IntEvaluator.Evaluate Method

Definition

Overloads

Evaluate(Single, Integer, Integer)

This function returns the result of linearly interpolating the start and end values, with <code>fraction</code> representing the proportion between the start and end values.

Evaluate(Single, Object, Object)

Evaluate(Single, Integer, Integer)

This function returns the result of linearly interpolating the start and end values, with <code>fraction</code> representing the proportion between the start and end values.

[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);
[<Android.Runtime.Register("evaluate", "(FLjava/lang/Integer;Ljava/lang/Integer;)Ljava/lang/Integer;", "GetEvaluate_FLjava_lang_Integer_Ljava_lang_Integer_Handler")>]
abstract member Evaluate : single * Java.Lang.Integer * Java.Lang.Integer -> Java.Lang.Integer
override this.Evaluate : single * Java.Lang.Integer * Java.Lang.Integer -> Java.Lang.Integer

Parameters

fraction
Single

The fraction from the starting to the ending values

startValue
Integer

The start value; should be of type <code>int</code> or <code>Integer</code>

endValue
Integer

The end value; should be of type <code>int</code> or <code>Integer</code>

Returns

Integer

A linear interpolation between the start and end values, given the <code>fraction</code> parameter.

Attributes

Remarks

Java documentation for android.animation.IntEvaluator.evaluate(float, java.lang.Integer, java.lang.Integer).

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

Evaluate(Single, Object, Object)

public virtual Java.Lang.Object? Evaluate (float fraction, Java.Lang.Object? startValue, Java.Lang.Object? endValue);
abstract member Evaluate : single * Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object
override this.Evaluate : single * Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object

Parameters

fraction
Single
startValue
Object
endValue
Object

Returns

Object

Implements

Remarks

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