语言

Paint.GetFillPath(Path, Path) 方法

定义

将任意/所有效果(patheffect, stroking)应用于 src,以 dst 返回结果。

[Android.Runtime.Register("getFillPath", "(Landroid/graphics/Path;Landroid/graphics/Path;)Z", "GetGetFillPath_Landroid_graphics_Path_Landroid_graphics_Path_Handler")]
public virtual bool GetFillPath(Android.Graphics.Path? src, Android.Graphics.Path? dst);
[<Android.Runtime.Register("getFillPath", "(Landroid/graphics/Path;Landroid/graphics/Path;)Z", "GetGetFillPath_Landroid_graphics_Path_Landroid_graphics_Path_Handler")>]
abstract member GetFillPath : Android.Graphics.Path * Android.Graphics.Path -> bool
override this.GetFillPath : Android.Graphics.Path * Android.Graphics.Path -> bool

参数

src
Path

输入路径

dst
Path

输出路径(可能与 src 相同)

返回

如果路径应填充,则为 true;如果应用发线绘制路径,则为 false(宽度 == 0)

特性

注解

将任意/所有效果(patheffect, stroking)应用于 src,以 dst 返回结果。 结果是,使用此油漆绘制 src 与使用默认油漆绘制的绘图 dst 相同(至少从几何角度)。

Java文档android.graphics.Paint.getFillPath(android.graphics.Path, android.graphics.Path)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于