Before all of this, let's take a look at the official documentation that explains the two functions.
Save ()
Subsequent calls to Translate,scale,rotate,skew,concat or ClipRect, Clippath would all operate as usual, and when the Balan Cing call to restore () is made, those calls'll be forgotten, and the settings that existed before the Save () would be Rei Nstated.
The approximate meaning is: "When the Save function is called, panning, zooming, and rotating the canvas is not the same as usual, but." After you call the Restore () method, the state of the canvas before the Save method call will be restored.
In layman's terms, when I call the Save method, I will save the current state of the canvas, save this state, I do the various transformations, in fact, I in these transformations, the purpose is to change the canvas of an element of the state, not the whole canvas state, so after the transformation is complete, I restored the state of my previously saved canvas by calling the Restore method, so that any subsequent images drawn on the canvas would not be affected by this change.
One word:
Save saves Canvas state
Restore restores the saved canvas state of Save
Android-on the understanding of Save and restore