Uses of Class
org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils.ScalingStrategy
-
Packages that use ImageUtils.ScalingStrategy Package Description org.hippoecm.frontend.plugins.gallery.imageutil -
-
Uses of ImageUtils.ScalingStrategy in org.hippoecm.frontend.plugins.gallery.imageutil
Methods in org.hippoecm.frontend.plugins.gallery.imageutil that return ImageUtils.ScalingStrategy Modifier and Type Method Description ImageUtils.ScalingStrategy
ScalingParameters. getStrategy()
static ImageUtils.ScalingStrategy
ImageUtils.ScalingStrategy. valueOf(String name)
Returns the enum constant of this type with the specified name.static ImageUtils.ScalingStrategy[]
ImageUtils.ScalingStrategy. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.hippoecm.frontend.plugins.gallery.imageutil with parameters of type ImageUtils.ScalingStrategy Modifier and Type Method Description static BufferedImage
ImageUtils. scaleImage(BufferedImage img, int targetWidth, int targetHeight, ImageUtils.ScalingStrategy strategy)
Returns a scaled instance of the providedBufferedImage
.ScalingParameters.Builder
ScalingParameters.Builder. strategy(ImageUtils.ScalingStrategy strategy)
Sets a scaling strategy.Constructors in org.hippoecm.frontend.plugins.gallery.imageutil with parameters of type ImageUtils.ScalingStrategy Constructor Description ScaleImageOperation(int width, int height, boolean upscaling, boolean cropping, ImageUtils.ScalingStrategy strategy, float compressionQuality)
Deprecated.UseScalingParameters.Builder
instead.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
-