Edit

Share via


SKCanvas.ClipRect(SKRect, SKClipOperation, Boolean) Method

Definition

Modify the current clip with the specified rectangle.

public void ClipRect(SkiaSharp.SKRect rect, SkiaSharp.SKClipOperation operation = SkiaSharp.SKClipOperation.Intersect, bool antialias = false);

Parameters

rect
SKRect

The rectangle to combine with the current clip.

operation
SKClipOperation

The clip operator to apply to the current clip.

antialias
Boolean

true to antialias the clip; otherwise, false.

Applies to