語言

Paint.SetPathEffect(PathEffect) 方法

定義

設定或清除路徑效果物件。

[Android.Runtime.Register("setPathEffect", "(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;", "GetSetPathEffect_Landroid_graphics_PathEffect_Handler")]
public virtual Android.Graphics.PathEffect? SetPathEffect(Android.Graphics.PathEffect? effect);
[<Android.Runtime.Register("setPathEffect", "(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;", "GetSetPathEffect_Landroid_graphics_PathEffect_Handler")>]
abstract member SetPathEffect : Android.Graphics.PathEffect -> Android.Graphics.PathEffect
override this.SetPathEffect : Android.Graphics.PathEffect -> Android.Graphics.PathEffect

參數

effect
PathEffect

可能是 Null。 將安裝在油漆中的路徑效應

傳回

影響

屬性

備註

設定或清除路徑效果物件。

傳送空碼以清除之前所有路徑效果。 為了方便起見,傳送的參數也會被回傳。

Java 文件 android.graphics.Paint.setPathEffect(android.graphics.PathEffect)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於