Class ImageScale


  • public final class ImageScale
    extends Object
    Image scaling mode.
    • Constructor Detail

      • ImageScale

        public ImageScale()
    • Method Detail

      • getMode

        public ImageScaleMode getMode()
        Get the mode property: Describes the image scaling mode to be applied. Default mode is 'pad'.
        Returns:
        the mode value.
      • setMode

        public ImageScale setMode​(ImageScaleMode mode)
        Set the mode property: Describes the image scaling mode to be applied. Default mode is 'pad'.
        Parameters:
        mode - the mode value to set.
        Returns:
        the ImageScale object itself.
      • getWidth

        public String getWidth()
        Get the width property: The desired output image width.
        Returns:
        the width value.
      • setWidth

        public ImageScale setWidth​(String width)
        Set the width property: The desired output image width.
        Parameters:
        width - the width value to set.
        Returns:
        the ImageScale object itself.
      • getHeight

        public String getHeight()
        Get the height property: The desired output image height.
        Returns:
        the height value.
      • setHeight

        public ImageScale setHeight​(String height)
        Set the height property: The desired output image height.
        Parameters:
        height - the height value to set.
        Returns:
        the ImageScale object itself.