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

degreesdegrees to rotate counter-clockwise