Image.rotate

Rotate the image by specified number of degrees. Rotated images are usually larger than the originals and have 'empty' triangular corners. Empty triangles left over from shearing the image are filled with the background color defined by the 'backgroundColor' property of the image.

class Image
void
rotate
(
double degrees
)

Parameters

degrees double

The number of degrees to rotate the image. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise.

Meta