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
内插结果。
返回
false 如果路径具有不同的点计数,则为 ;否则 true ,在正常完成时。 此结果不验证段兼容性。
- 特性
注解
此方法将从此路径线性内插,以 otherPath 给定内插参数 t,返回结果 interpolatedPath。 仅当两个路径的结构完全匹配时,内插才会成功,如前所述 #isInterpolatable(Path)。
Java文档android.graphics.Path.interpolate(android.graphics.Path, float, android.graphics.Path)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。