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