Table of Contents

Method Save

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

Save()

Saves the current state of the canvas.

public virtual void Save()

Remarks

This call saves the current state (matrix, clip, and draw filter), and pushes a copy onto a private stack. Subsequent calls to translate, scale, rotate, skew, concatenate or clipping path or drawing filter all operate on this copy. When the call to Restore() is made, the previous settings are restored. This method should be overridden in a derived class to implement the specific save logic.