save - method of the CanvasCtx object
Saves the current rendered state of the drawing (context).
This saved state can then be restored by the restore
This method is also functional in Web panels
variable represents the drawing canvas (CanvasCtx
). The setup is done on the "Draw
" tab at the beginning of the script of drawing event onDraw