Path.Interpolate(Path, Single, Path) 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 method will linearly interpolate from this path to otherPath
given
the interpolation parameter t
, returning the result in
interpolatedPath
.
[Android.Runtime.Register("interpolate", "(Landroid/graphics/Path;FLandroid/graphics/Path;)Z", "GetInterpolate_Landroid_graphics_Path_FLandroid_graphics_Path_Handler", ApiSince=34)]
public virtual bool Interpolate (Android.Graphics.Path otherPath, float t, Android.Graphics.Path interpolatedPath);
[<Android.Runtime.Register("interpolate", "(Landroid/graphics/Path;FLandroid/graphics/Path;)Z", "GetInterpolate_Landroid_graphics_Path_FLandroid_graphics_Path_Handler", ApiSince=34)>]
abstract member Interpolate : Android.Graphics.Path * single * Android.Graphics.Path -> bool
override this.Interpolate : Android.Graphics.Path * single * Android.Graphics.Path -> bool
Parameters
- otherPath
- Path
The other Path
being interpolated to.
- t
- Single
The interpolation parameter. A value of 0 results in a Path
equivalent to this path, a value of 1 results in one equivalent to
otherPath
.
- interpolatedPath
- Path
The interpolated results.
Returns
- Attributes
Remarks
This method will linearly interpolate from this path to otherPath
given the interpolation parameter t
, returning the result in interpolatedPath
. Interpolation will only succeed if the structures of the two paths match exactly, as discussed in #isInterpolatable(Path)
.
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.