Canvas reference: The restore() function

Summary: The restore() function complements the save() function and is used to restore the state of the canvas to that which you have previously saved

The restore() function restores settings previously saved by the save() function. It's commonly used to eliminate any clipped region that has been set. The list of settings that are restored can be found on the save page.

An example of the restore() function can be found in the page explaining the clip() function.

An example

For an example of the save()/restore() functions see the save() function page .