Editar

Compartilhar via


SKAutoCanvasRestore Constructors

Definition

Overloads

SKAutoCanvasRestore(SKCanvas)

Creates a canvas restore point, invoking the Save() method.

SKAutoCanvasRestore(SKCanvas, Boolean)

Creates a canvas restore point.

SKAutoCanvasRestore(SKCanvas)

Creates a canvas restore point, invoking the Save() method.

public SKAutoCanvasRestore (SkiaSharp.SKCanvas canvas);

Parameters

canvas
SKCanvas

The canvas whose state will be preserved.

Applies to

SKAutoCanvasRestore(SKCanvas, Boolean)

Creates a canvas restore point.

public SKAutoCanvasRestore (SkiaSharp.SKCanvas canvas, bool doSave);

Parameters

canvas
SKCanvas

The canvas whose state will be preserved.

doSave
Boolean

Whether or not to invoke Save() method at this point.

Applies to