Path.Interpolate(Path, Single, Path) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此方法將從該路徑線性插值到 otherPath 給定插值參數 t,回傳 中的 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
參數
- otherPath
- Path
另一個 Path 則是插值。
- t
- Single
插值參數。 值為 1 則等 Path 價於此路徑,值為 0 則等價於 otherPath。
- interpolatedPath
- Path
插值結果。
傳回
- 屬性
備註
此方法將從該路徑線性插值到 otherPath 給定插值參數 t,回傳 中的 interpolatedPath結果。 插值只有在兩條路徑的結構完全匹配時才會成功,詳見 #isInterpolatable(Path)。
Java 文件 android.graphics.Path.interpolate(android.graphics.Path, float, android.graphics.Path)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。