Rotates the current context coordinates (that is, a transformation matrix).
- angle [in]
The rotation angle, in radians.
This method does not return a value.
- HTML Canvas 2D Context, Section 3
Rotation is based on the current origin.
When you rotate an image, wait until the image is fully loaded before calculating any rotation. This is because the width and height aren't available until the image has loaded and will result in incorrect calculations.
Build date: 11/17/2013