Uses of Class
net.coobird.thumbnailator.geometry.Region
-
Packages that use Region Package Description net.coobird.thumbnailator This package contains classes which provide the core functionalities of Thumbnailator, includingThumbnails, the entry point for most use cases of Thumbnailator.net.coobird.thumbnailator.builders This package provides classes which provides convenient builders for classes which are used by Thumbnailator.net.coobird.thumbnailator.tasks.io This package provides classes which perform image input and output operations in conjunction with theSourceSinkThumbnailTaskclass. -
-
Uses of Region in net.coobird.thumbnailator
Fields in net.coobird.thumbnailator declared as Region Modifier and Type Field Description private RegionThumbnailParameter. sourceRegionThe region of the source image to use when creating a thumbnail.private RegionThumbnails.Builder. sourceRegionMethods in net.coobird.thumbnailator that return Region Modifier and Type Method Description RegionThumbnailParameter. getSourceRegion()Returns the region of the source image to use when creating a thumbnail, represented by aRegionobject.Methods in net.coobird.thumbnailator with parameters of type Region Modifier and Type Method Description Thumbnails.Builder<T>Thumbnails.Builder. sourceRegion(Region sourceRegion)Specifies the region of the source image where the thumbnail will be created from.Constructors in net.coobird.thumbnailator with parameters of type Region Constructor Description ThumbnailParameter(double widthScalingFactor, double heightScalingFactor, Region sourceRegion, boolean keepAspectRatio, java.lang.String outputFormat, java.lang.String outputFormatType, float outputQuality, int imageType, java.util.List<ImageFilter> filters, ResizerFactory resizerFactory, boolean fitWithinDimensions, boolean useExifOrientation)Creates an object holding the parameters needed in order to make a thumbnail.ThumbnailParameter(double widthScalingFactor, double heightScalingFactor, Region sourceRegion, boolean keepAspectRatio, java.lang.String outputFormat, java.lang.String outputFormatType, float outputQuality, int imageType, java.util.List<ImageFilter> filters, Resizer resizer, boolean fitWithinDimensions, boolean useExifOrientation)Creates an object holding the parameters needed in order to make a thumbnail.ThumbnailParameter(java.awt.Dimension thumbnailSize, double widthScalingFactor, double heightScalingFactor, Region sourceRegion, boolean keepAspectRatio, java.lang.String outputFormat, java.lang.String outputFormatType, float outputQuality, int imageType, java.util.List<ImageFilter> filters, ResizerFactory resizerFactory, boolean fitWithinDimensions, boolean useExifOrientation)Private constructor which sets all the required fields, and performs validation of the given arguments.ThumbnailParameter(java.awt.Dimension thumbnailSize, Region sourceRegion, boolean keepAspectRatio, java.lang.String outputFormat, java.lang.String outputFormatType, float outputQuality, int imageType, java.util.List<ImageFilter> filters, ResizerFactory resizerFactory, boolean fitWithinDimensions, boolean useExifOrientation)Creates an object holding the parameters needed in order to make a thumbnail.ThumbnailParameter(java.awt.Dimension thumbnailSize, Region sourceRegion, boolean keepAspectRatio, java.lang.String outputFormat, java.lang.String outputFormatType, float outputQuality, int imageType, java.util.List<ImageFilter> filters, Resizer resizer, boolean fitWithinDimensions, boolean useExifOrientation)Creates an object holding the parameters needed in order to make a thumbnail. -
Uses of Region in net.coobird.thumbnailator.builders
Fields in net.coobird.thumbnailator.builders declared as Region Modifier and Type Field Description private RegionThumbnailParameterBuilder. sourceRegionMethods in net.coobird.thumbnailator.builders with parameters of type Region Modifier and Type Method Description ThumbnailParameterBuilderThumbnailParameterBuilder. region(Region sourceRegion)Sets the region of the source image to use when creating a thumbnail. -
Uses of Region in net.coobird.thumbnailator.tasks.io
Methods in net.coobird.thumbnailator.tasks.io with parameters of type Region Modifier and Type Method Description private java.awt.RectangleInputStreamImageSource. calculateSourceRegion(int width, int height, Orientation orientation, Region region)
-