Skip to content

Rotate

Rotates the image clockwise or anti-clockwise.

Examples

Using this image scaled to 640 x 360 as our input:

source image

Code Output
image.rotateLeft() image
image.rotateRight() image
image.rotate(new Radians(1.15)) image