Vote count:
0
I often see the following code
canvas.save().
canvas translate or rotate
some drawing
canvas.restore
I don't understand why we save and then restore. What's the point of undoing what we just did! I am sure I am missing something here Thanks
asked 2 mins ago
Save canvas then restore, why is that?
Aucun commentaire:
Enregistrer un commentaire