Compartilhar via


Path.Interpolate(Path, Single, Path) Method

Definition

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).

Java documentation for android.graphics.Path.interpolate(android.graphics.Path, float, android.graphics.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.

Applies to