html5
Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
html5 [2012/06/08 18:20] – created javapimp | html5 [2012/08/03 01:10] – javapimp | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Canvas Element ====== | ||
+ | |||
+ | ===== save() ===== | ||
+ | Pushes the current context settings onto the stack. | ||
+ | |||
+ | <code javascript> | ||
+ | ctx.save(); | ||
+ | </ | ||
+ | |||
+ | ===== 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 '' | ||
+ | |||
+ | <code javascript> | ||
+ | ctx.restore(); | ||
+ | </ | ||
+ | |||
====== Links ====== | ====== Links ====== | ||
* [[http:// | * [[http:// |
html5.txt · Last modified: 2023/08/18 18:15 by 127.0.0.1