Uses of Enum Class
org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils.ScalingStrategy
-
Uses of ImageUtils.ScalingStrategy in org.hippoecm.frontend.plugins.gallery.imageutil
Modifier and TypeMethodDescriptionScalingParameters.getStrategy()
static ImageUtils.ScalingStrategy
Returns the enum constant of this class with the specified name.static ImageUtils.ScalingStrategy[]
ImageUtils.ScalingStrategy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic BufferedImage
ImageUtils.scaleImage
(BufferedImage img, int targetWidth, int targetHeight, ImageUtils.ScalingStrategy strategy) Returns a scaled instance of the providedBufferedImage
.ScalingParameters.Builder.strategy
(ImageUtils.ScalingStrategy strategy) Sets a scaling strategy.ModifierConstructorDescriptionScaleImageOperation
(int width, int height, boolean upscaling, boolean cropping, ImageUtils.ScalingStrategy strategy, float compressionQuality) Deprecated.ScaleImageOperation
(int width, int height, boolean upscaling, ImageUtils.ScalingStrategy strategy) Deprecated.UseScalingParameters.Builder
instead.ScaleImageOperation
(int width, int height, boolean upscaling, ImageUtils.ScalingStrategy strategy, float compressionQuality) Deprecated.UseScalingParameters.Builder
instead.ScalingParameters
(int width, int height, boolean upscaling, boolean cropping, ImageUtils.ScalingStrategy strategy, float compressionQuality) Creates a set of scaling parameters: the width and height of the bounding box, and whether to do upscaling.ScalingParameters
(int width, int height, boolean upscaling, ImageUtils.ScalingStrategy strategy) Deprecated.UseScalingParameters.Builder
insteadScalingParameters
(int width, int height, boolean upscaling, ImageUtils.ScalingStrategy strategy, float compressionQuality) Deprecated.UseScalingParameters.Builder
instead
ScalingParameters.Builder
instead.