Freigeben über


ICanvas.ClipPath(PathF, WindingMode) Methode

Definition

Clips an object so that only the area that's within the region of a PathF object will be visible.

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)

Parameter

path
PathF

Der Pfad zum Abschneiden des Objekts

windingMode
WindingMode

Füllalgorithmus, der für den Pfad verwendet wird. Der Standardwert ist NonZero.

Gilt für: