Matrix.rotate
void rotate(double degrees)Changes the transformation represented by matrix to be the transformation given by first rotating by degrees degrees counter-clockwise then applying the original transformation.
Parameters
degrees | degrees to rotate counter-clockwise |