Class ImageResizeRequest


  • public class ImageResizeRequest
    extends Object
    • Constructor Detail

      • ImageResizeRequest

        public ImageResizeRequest()
    • Method Detail

      • isCopyFile

        public boolean isCopyFile()
        Returns:
        the copyFile
      • setCopyFile

        public void setCopyFile​(boolean copyFile)
        Parameters:
        copyFile - the copyFile to set
      • getTargetFormat

        public String getTargetFormat()
      • setTargetFormat

        public void setTargetFormat​(String targetFormat)
      • getImage

        public Image getImage()
      • setImage

        public void setImage​(Image image)
      • getCropHeight

        public int getCropHeight()
      • setCropHeight

        public void setCropHeight​(int cropHeight)
      • getCropWidth

        public int getCropWidth()
      • setCropWidth

        public void setCropWidth​(int cropWidth)
      • getCropStartX

        public int getCropStartX()
      • setCropStartX

        public void setCropStartX​(int cropStartX)
      • getCropStartY

        public int getCropStartY()
      • setCropStartY

        public void setCropStartY​(int cropStartY)
      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)
      • getHeight

        public int getHeight()
      • setHeight

        public void setHeight​(int height)
      • getMode

        public String getMode()
        Returns the mode (eg. cropandresize)
        Returns:
      • setMode

        public void setMode​(String mode)
        Sets the mode (eg. cropandresize)
        Parameters:
        mode -
      • getResizeMode

        public String getResizeMode()
        Returns the resizemode (eg. force)
        Returns:
      • setResizeMode

        public void setResizeMode​(String resizeMode)
        Sets the resizemode (eg. force)
        Parameters:
        resizeMode -
      • getFpX

        public Float getFpX()
        Return the focal point x factor.
        Returns:
      • setFpX

        public void setFpX​(Float fpX)
        Set the focal point x factor.
        Parameters:
        fpX -
      • getFpY

        public Float getFpY()
        Return the focal point y factor.
        Returns:
      • setFpY

        public void setFpY​(Float fpY)
        Set the focal point y factor.
        Parameters:
        fpY -
      • getRotate

        public ImageRotate getRotate()
        Direction for rotating the image. cw for clockwise, ccw for counter-clockwise. The image will first be rotated and then (optionally) cropped and resized
        Returns:
        rotate direction
      • setRotate

        public void setRotate​(ImageRotate rotate)
        Set rotate direction
        Parameters:
        rotate - direction