save method

  1. @Native<Void Function(Pointer<Void>)>(Pointer<Void>)>(symbol: 'Canvas::save', isLeaf: true)
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.


@Native<Void Function(Pointer<Void>)>(symbol: 'Canvas::save', isLeaf: true)
external void save();