Partager via


Path.IsInterpolatable(Path) Method

Definition

Two paths can be interpolated, by calling #interpolate(Path, float, Path), if they have exactly the same structure.

[Android.Runtime.Register("isInterpolatable", "(Landroid/graphics/Path;)Z", "GetIsInterpolatable_Landroid_graphics_Path_Handler", ApiSince=34)]
public virtual bool IsInterpolatable (Android.Graphics.Path otherPath);
[<Android.Runtime.Register("isInterpolatable", "(Landroid/graphics/Path;)Z", "GetIsInterpolatable_Landroid_graphics_Path_Handler", ApiSince=34)>]
abstract member IsInterpolatable : Android.Graphics.Path -> bool
override this.IsInterpolatable : Android.Graphics.Path -> bool

Parameters

otherPath
Path

The other Path being interpolated to from this one.

Returns

true if interpolation is possible, false otherwise

Attributes

Remarks

Two paths can be interpolated, by calling #interpolate(Path, float, Path), if they have exactly the same structure. That is, both paths must have the same operations, in the same order. If any of the operations are of type PathIterator#VERB_CONIC, then the weights of those conics must also match.

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