PointFEvaluator.Evaluate(Single, PointF, PointF) Method

Definition

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

[Android.Runtime.Register("evaluate", "(FLandroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/graphics/PointF;", "GetEvaluate_FLandroid_graphics_PointF_Landroid_graphics_PointF_Handler")]
public virtual Android.Graphics.PointF? Evaluate (float fraction, Android.Graphics.PointF? startValue, Android.Graphics.PointF? endValue);
[<Android.Runtime.Register("evaluate", "(FLandroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/graphics/PointF;", "GetEvaluate_FLandroid_graphics_PointF_Landroid_graphics_PointF_Handler")>]
abstract member Evaluate : single * Android.Graphics.PointF * Android.Graphics.PointF -> Android.Graphics.PointF
override this.Evaluate : single * Android.Graphics.PointF * Android.Graphics.PointF -> Android.Graphics.PointF

Parameters

fraction
Single

The fraction from the starting to the ending values

startValue
PointF

The start PointF

endValue
PointF

The end PointF

Returns

PointF

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

Attributes

Remarks

Java documentation for android.animation.PointFEvaluator.evaluate(float, android.graphics.PointF, android.graphics.PointF).

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