- bounds
- May be null. The maximum size the offscreen bitmap needs to be (in local coordinates)
- paint
- This is copied, and is applied to the offscreen when restore() is called.
- 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.