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] – created javapimphtml5 [2023/08/18 18:15] (current) – external edit 127.0.0.1
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: 2023/08/18 18:15 (external edit)