Udostępnij za pośrednictwem


Canvas.SaveCount Property

Definition

Returns the number of matrix/clip states on the Canvas' private stack.

public virtual int SaveCount { [Android.Runtime.Register("getSaveCount", "()I", "GetGetSaveCountHandler")] get; }
[<get: Android.Runtime.Register("getSaveCount", "()I", "GetGetSaveCountHandler")>]
member this.SaveCount : int

Property Value

Attributes

Remarks

Returns the number of matrix/clip states on the Canvas' private stack. This will equal # save() calls - # restore() calls.

Java documentation for android.graphics.Canvas.getSaveCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to