語言

Path.IsInterpolatable(Path) 方法

定義

若兩條路徑結構完全相同,則可透過呼叫 #interpolate(Path, float, Path)進行插值。

[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

參數

otherPath
Path

另一個 Path 是從這個版本插值而來的。

傳回

若可插值,則為 true;否則為 false

屬性

備註

若兩條路徑結構完全相同,則可透過呼叫 #interpolate(Path, float, Path)進行插值。 也就是說,兩條路徑必須有相同的操作,且順序相同。 若任一運算型為 PathIterator#VERB_CONIC,則這些圓錐曲線的權重也必須相符。

Java 文件 android.graphics.Path.isInterpolatable(android.graphics.Path)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於