rotate method

void rotate(
  1. double angle
)

Implementation

void rotate(double angle) => transform(Mat2D.fromRotation(Mat2D(), angle));