Matrix.initRotate

void initRotate(double radians)

Initialized matrix to a transformation that rotates by radians.

Parameters

radiansangle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.