scale method

void scale(
  1. double x,
  2. double y
)

Implementation

void scale(double x, double y) {
  _matrix.scale(x, y);
  addAction((Canvas canvas, Size size) {
    canvas.scale(x, y);
  });
}