User Tools

Site Tools


html5

Table of Contents

Canvas Element

save()

Pushes the current context settings onto the stack.

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 save().

ctx.restore();

Links

html5.txt · Last modified: 2016/05/14 16:04 (external edit)