Udostępnij za pośrednictwem


Canvas.Restore Method

Definition

This call balances a previous call to save(), and is used to remove all modifications to the matrix/clip state since the last save call.

[Android.Runtime.Register("restore", "()V", "GetRestoreHandler")]
public virtual void Restore ();
[<Android.Runtime.Register("restore", "()V", "GetRestoreHandler")>]
abstract member Restore : unit -> unit
override this.Restore : unit -> unit
Attributes

Remarks

This call balances a previous call to save(), and is used to remove all modifications to the matrix/clip state since the last save call. It is an error to call restore() more times than save() was called.

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

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