SkiaSharp.SKCanvas.Save Method

Saves the canvas state.


public Int32 Save ()


The value to pass to SKCanvas.RestoreToCount to balance this save.


This call saves the current matrix, clip, and draw filter, and pushes a copy onto a private stack. Subsequent calls to translate, scale, rotate, skew, concat or clipping path or drawing filter all operate on this copy. When the balancing call to SKCanvas.Restore is made, the previous matrix, clipping, and drawing filters are restored.


Namespace: SkiaSharp
Assembly: SkiaSharp (in SkiaSharp.dll)
Assembly Versions:,,,,,,,,,,