Editar

Compartir a través de


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

Whether or not the clip should be antialiased.

Applies to