共用方式為


ICanvas.ClipPath(PathF, WindingMode) 方法

定義

裁剪 物件,以便只顯示物件區域內的區域 PathF

public void ClipPath (Microsoft.Maui.Graphics.PathF path, Microsoft.Maui.Graphics.WindingMode windingMode = Microsoft.Maui.Graphics.WindingMode.NonZero);
abstract member ClipPath : Microsoft.Maui.Graphics.PathF * Microsoft.Maui.Graphics.WindingMode -> unit
Public Sub ClipPath (path As PathF, Optional windingMode As WindingMode = Microsoft.Maui.Graphics.WindingMode.NonZero)

參數

path
PathF

用來裁剪對象的路徑

windingMode
WindingMode

用於路徑的填滿演算法。 預設值為 NonZero

適用於