Path.Interpolate(Path, Single, Path) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このメソッドは、補間パラメーターt
を指定してotherPath
、このパスから 線形補間を行い、 で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
補間先のもう 1 つの Path
。
- t
- Single
補間パラメーター。 値が 0 の場合 Path
、このパスに相当し、値が 1 の場合は に相当します otherPath
。
- interpolatedPath
- Path
補間された結果。
戻り値
- 属性
注釈
このメソッドは、補間パラメーターt
を指定してotherPath
、このパスから 線形補間を行い、 でinterpolatedPath
結果を返します。 補間は、 で #isInterpolatable(Path)
説明されているように、2 つのパスの構造が正確に一致する場合にのみ成功します。
の android.graphics.Path.interpolate(android.graphics.Path, float, android.graphics.Path)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。