Context.rotate
void rotate(double angle)Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians. The rotation of the axes takes places after any existing transformation of user space. The rotation direction for positive angles is from the positive X axis toward the positive Y axis.
Parameters
angle | angle (in radians) by which the user-space axes will be rotated |