save method Null safety

void save()

Saves a copy of the current transform and clip on the save stack.

Call restore to pop the save stack.

See also:

  • saveLayer, which does the same thing but additionally also groups the commands done until the matching restore.

Implementation

void save() native 'Canvas_save';