save method

void save()

Implementation

void save() {
  addAction((Canvas canvas, Size size) {
    _states.add([strokeStyle, fillStyle, lineWidth, lineCap, lineJoin, lineDashOffset, miterLimit, font, textAlign, direction]);
    canvas.save();
  });
}