SKCanvas.SaveCount Property

Definition

Gets the number of matrix/clip states on the canvas' private stack.

public int SaveCount { get; }

Property Value

Int32

Remarks

This will equal the number of Save() calls minus Restore() calls + 1. The save count on a new canvas is 1.

Applies to