編輯

共用方式為


SKCanvas.SaveCount Property

Definition

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

public int SaveCount { get; }

Property Value

Remarks

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

Applies to