Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

restore method

Returns previously saved CanvasRenderingContext2D path state and attributes.

HTML Canvas 2D Context, Section 2Internet Explorer 9

 

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:

 

 

Community Additions

ADD
Show:
© 2015 Microsoft