Skip to content
sorccu edited this page Sep 13, 2010 · 8 revisions

Browser support

Rotate.js is known to work with the following browsers:

  • Firefox 1.5+
  • Safari 2+
  • Internet Explorer 6+
  • Opera 9.5+
  • Google Chrome

API

Rotate(HTMLImageElement image, String angle)

Rotates the image by the given angle, which must be a valid CSS3 angle1 in either radians or degrees.

1 http://www.w3.org/TR/css3-values/#angles

Rotate(HTMLImageElement image, Number angle)

Rotates the image by the given angle which is assumed to be a radian value.