www.dextsolution.com
DEXTUPLOAD
JK
menu toggleReference > dextuploadjk > media > ImageOption > Position

dextuploadjk.media.ImageOption
Enum Position

Minimum version
1.0.0
Minimum environment
Java 17, Jakarta EE 9+
Description

Represents the reference position of the image when rendering the original image to fit inside a specific size area (frame).

Used as a parameter to the resizeUniformToFit, resizeUniformToFill, and overlay methods of class ImageTool.

Constant Description
LeftTop Left top
LeftMiddle Left middle
LeftBottom Left bottom
RightTop Right top
RightMiddle Right middle
RightBottom Right bottom
CenterTop Center top
CenterMiddle Center middle
CenterBottom Center bottom