Rotate
Rotates the image clockwise or anti-clockwise.
Examples
Using this image scaled to 640 x 360 as our input:

| Code | Output |
|---|---|
image.rotateLeft() |
![]() |
image.rotateRight() |
![]() |
image.rotate(new Radians(1.15)) |
![]() |
Rotates the image clockwise or anti-clockwise.
Using this image scaled to 640 x 360 as our input:

| Code | Output |
|---|---|
image.rotateLeft() |
![]() |
image.rotateRight() |
![]() |
image.rotate(new Radians(1.15)) |
![]() |