Package de.xima.fc.gui.elfinder
Interface IElFinderImageProcessorRotateParams
-
- All Superinterfaces:
IElFinderImageProcessorBaseParams
public interface IElFinderImageProcessorRotateParams extends IElFinderImageProcessorBaseParams
Parameters for the rotate operation, seeIElFinderImageProcessor.rotateImage(Path, Path, IElFinderImageProcessorRotateParams)
- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
IElFinderImageProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RgbTriplet
backgroundColor()
Gets the background color to use for the newly created image.double
degrees()
Gets the number of degrees to rotate the image by.-
Methods inherited from interface de.xima.fc.gui.elfinder.IElFinderImageProcessorBaseParams
quality
-
-
-
-
Method Detail
-
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.
-
-