Compartir a través de


restore method

Returns previously saved CanvasRenderingContext2D path state and attributes.

 

Syntax

object.restore();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

Remarks

Use the ICanvasRenderingContext2D::save method to save the current state of the context. Save and restore the following states and attributes: