C# Class SkiaSharp.SKAutoCanvasRestore

Inheritance: IDisposable
Show file Open project: prepare/HTML-Renderer

Public Methods

Method Description
Dispose ( ) : void
Restore ( ) : void

Perform the restore now, instead of waiting for the Dispose. Will only do this once.

SKAutoCanvasRestore ( SKCanvas canvas ) : System
SKAutoCanvasRestore ( SKCanvas canvas, bool doSave ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Restore() public method

Perform the restore now, instead of waiting for the Dispose. Will only do this once.
public Restore ( ) : void
return void

SKAutoCanvasRestore() public method

public SKAutoCanvasRestore ( SKCanvas canvas ) : System
canvas SKCanvas
return System

SKAutoCanvasRestore() public method

public SKAutoCanvasRestore ( SKCanvas canvas, bool doSave ) : System
canvas SKCanvas
doSave bool
return System