User Tools

Site Tools


html5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
html5 [2012/06/08 18:20]
javapimp created
html5 [2016/05/14 16:04] (current)
Line 1: Line 1:
 +====== Canvas Element ======
 +
 +===== save() =====
 +Pushes the current context settings onto the stack.
 +
 +<code javascript>​
 +ctx.save();
 +</​code>​
 +
 +===== restore() =====
 +Pops and restores the most recently saved context settings from the stack. This will undo any changes made to the drawing context since the last call to ''​save()''​.
 +
 +<code javascript>​
 +ctx.restore();​
 +</​code>​
 +
 ====== Links ====== ====== Links ======
   * [[http://​platform.html5.org/​|The Web platform: Browser technologies]]   * [[http://​platform.html5.org/​|The Web platform: Browser technologies]]
html5.1339179616.txt.gz ยท Last modified: 2016/05/14 16:04 (external edit)