- bounds
- The maximum size the offscreen bitmap needs to be (in local coordinates)
- alpha
- The alpha to apply to the offscreen when when it is drawn during restore()
- saveFlags
- see _SAVE_FLAG constants
Documentation for this section has not yet been entered.
This behaves the same as save(), but in addition it allocates an offscreen bitmap. All drawing calls are directed there, and only when the balancing call to restore() is made is that offscreen transfered to the canvas (or the previous layer). Subsequent calls to translate, scale, rotate, skew, concat or clipRect, clipPath all operate on this copy. When the balancing call to restore() is made, this copy is deleted and the previous matrix/clip state is restored.