Uses of Interface
net.coobird.thumbnailator.geometry.Position
-
Packages that use Position 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.filters This package provides classes which perform filtering operations on images, such as adding watermark, text captions, and color tints.net.coobird.thumbnailator.geometry This package contains classes used to specify positioning of watermarks and other objects in Thumbnailator. -
-
Uses of Position in net.coobird.thumbnailator
Fields in net.coobird.thumbnailator declared as Position Modifier and Type Field Description private PositionThumbnails.Builder. croppingPositionThis field should be set to thePositionto be used for cropping if cropping is enabled.Methods in net.coobird.thumbnailator with parameters of type Position Modifier and Type Method Description Thumbnails.Builder<T>Thumbnails.Builder. crop(Position position)Crops the thumbnail at the position specified byPosition.Thumbnails.Builder<T>Thumbnails.Builder. sourceRegion(Position position, int width, int height)Specifies the region of the source image where the thumbnail will be created from.Thumbnails.Builder<T>Thumbnails.Builder. sourceRegion(Position position, Size size)Specifies the region of the source image where the thumbnail will be created from.Thumbnails.Builder<T>Thumbnails.Builder. watermark(Position position, java.awt.image.BufferedImage image, float opacity)Sets the image and opacity and position of the watermark to apply on the thumbnail.Thumbnails.Builder<T>Thumbnails.Builder. watermark(Position position, java.awt.image.BufferedImage image, float opacity, int insets)Sets the image, opacity, position and insets for the watermark to apply on to the thumbnail. -
Uses of Position in net.coobird.thumbnailator.filters
Fields in net.coobird.thumbnailator.filters declared as Position Modifier and Type Field Description private PositionCanvas. positionThe positioning of the enclosed image.private PositionCaption. positionThe position at which the text should be drawn.private PositionWatermark. positionThe position of the watermark.Constructors in net.coobird.thumbnailator.filters with parameters of type Position Constructor Description Canvas(int width, int height, Position position)Instantiates aCanvasfilter.Canvas(int width, int height, Position position, boolean crop)Instantiates aCanvasfilter.Canvas(int width, int height, Position position, boolean crop, java.awt.Color fillColor)Instantiates aCanvasfilter.Canvas(int width, int height, Position position, java.awt.Color fillColor)Instantiates aCanvasfilter.Caption(java.lang.String caption, java.awt.Font font, java.awt.Color c, float alpha, Position position, int insets)Instantiates a filter which adds a text caption to an image.Caption(java.lang.String caption, java.awt.Font font, java.awt.Color c, Position position, int insets)Instantiates a filter which adds a text caption to an image.Watermark(Position position, java.awt.image.BufferedImage watermarkImg, float opacity)Instantiates a filter which applies a watermark to an image.Watermark(Position position, java.awt.image.BufferedImage watermarkImg, float opacity, int insets)Instantiates a filter which applies a watermark to an image. -
Uses of Position in net.coobird.thumbnailator.geometry
Classes in net.coobird.thumbnailator.geometry that implement Position Modifier and Type Class Description classCoordinateThis class calculates the position of an image which is to be enclosed, using an absolute coordinate at which the image should be located.classPositionsAn enum of predefinedPositions.Fields in net.coobird.thumbnailator.geometry declared as Position Modifier and Type Field Description private PositionRegion. positionPosition of the region.Methods in net.coobird.thumbnailator.geometry that return Position Modifier and Type Method Description PositionRegion. getPosition()Returns the position of the region.Constructors in net.coobird.thumbnailator.geometry with parameters of type Position Constructor Description Region(Position position, Size size)
-