Share via


ICanvas.ClipPath(PathF, WindingMode) Method

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)

Parameters

path
PathF

The path used to clip the object

windingMode
WindingMode

Fill algorithm used for the path. Default is NonZero.

Applies to