PathInterpolator.GetInterpolation(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Using the line in the Path in this interpolator that can be described as
y = f(x)
, finds the y coordinate of the line given t
as the x coordinate.
[Android.Runtime.Register("getInterpolation", "(F)F", "GetGetInterpolation_FHandler")]
public override float GetInterpolation (float t);
[<Android.Runtime.Register("getInterpolation", "(F)F", "GetGetInterpolation_FHandler")>]
override this.GetInterpolation : single -> single
Parameters
- t
- Single
Treated as the x coordinate along the line.
Returns
The y coordinate of the Path along the line where x = t
.
Implements
- Attributes
Remarks
Using the line in the Path in this interpolator that can be described as y = f(x)
, finds the y coordinate of the line given t
as the x coordinate. Values less than 0 will always return 0 and values greater than 1 will always return 1.
Java documentation for android.view.animation.PathInterpolator.getInterpolation(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.