PointFEvaluator.Evaluate(Single, PointF, PointF) 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.
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
A linear interpolation between the start and end values, given the <code>fraction</code> parameter.
- Attributes
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.