Table of Contents

Method ResetClipRect

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ResetClipRect(SKCanvas)

Resets the clipping rectangle of the specified SKCanvas to its default bounds.

public static void ResetClipRect(SKCanvas canvas)

Parameters

canvas SKCanvas

The SKCanvas instance whose clipping rectangle will be reset. Cannot be null.

Remarks

This method sets the clipping rectangle to match the full device bounds of the canvas. It ensures that subsequent drawing operations are not restricted by a previously applied clipping region.