Xamarin.Forms.AnimationExtensions.Interpolate Method
Returns a function that performs a linear interpolation between start and end.

Syntax

public static Func<double, double> Interpolate (double start, double end, double reverseVal, bool reverse)

Parameters

start
Documentation for this section has not yet been entered.
end
Documentation for this section has not yet been entered.
reverseVal
Documentation for this section has not yet been entered.
reverse
Documentation for this section has not yet been entered.

Returns

A function that performs a linear interpolation between start and end. Application developers can pass values between 0.0f and 1.0f to this function in order to recieve a value that is offset from start or end, depending on the value of reverse, by the passed value times the distance between start and end.

Remarks

If reverse is true, then the interpolation happens between start and reverseVal.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0