rotate method

void rotate(
  1. double angle
)

Implementation

void rotate(double angle) {
  _matrix.setRotationZ(angle);
  addAction((Canvas canvas, Size size) {
    canvas.rotate(angle);
  });
}