共用方式為


Paint.GetFillPath(Path, Path) Method

Definition

Applies any/all effects (patheffect, stroking) to src, returning the result in 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

Parameters

src
Path

input path

dst
Path

output path (may be the same as src)

Returns

true if the path should be filled, or false if it should be drawn with a hairline (width == 0)

Attributes

Remarks

Applies any/all effects (patheffect, stroking) to src, returning the result in dst. The result is that drawing src with this paint will be the same as drawing dst with a default paint (at least from the geometric perspective).

Java documentation for android.graphics.Paint.getFillPath(android.graphics.Path, android.graphics.Path).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to