Code example for Canvas

Methods: restore, save, saveLayerAlpha, translate