Interface IElFinderImageProcessorRotateParams
- All Superinterfaces:
IElFinderImageProcessorBaseParams
Parameters for the rotate operation, see
IElFinderImageProcessor.rotateImage(Path, Path, IElFinderImageProcessorRotateParams)- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the background color to use for the newly created image.doubledegrees()Gets the number of degrees to rotate the image by.Methods inherited from interface IElFinderImageProcessorBaseParams
quality
-
Method Details
-
backgroundColor
RgbTriplet backgroundColor()Gets the background color to use for the newly created image. If the image is rotated by an angle that is not a multiple of 90 degrees, the background color is used to fill the corners of the rotated image that are not covered by the original image.- Returns:
- The background color to use for the newly created image, never null.
-
degrees
double degrees()Gets the number of degrees to rotate the image by. Will always be in the range [0, 360). A positive value rotates the image clockwise, and a negative value rotates the image counterclockwise.- Returns:
- The number of degrees to rotate the image by.
-