Documentation of 'Catalano.Imaging.Filters.Resize' Java class
Resize
Catalano.Imaging.Filters

Class Resize

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  Resize.Algorithm
      Interpolation algorithm.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Resize(int newWidth, int newHeight)
      Initialize a new instance of the Resize class.
      Resize(int newWidth, int newHeight, Resize.Algorithm algorithm)
      Initialize a new instance of the Resize class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      FastBitmap apply(FastBitmap fastBitmap)
      Apply the filter
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      int getNewHeight()
      Get Height of the new resized image.
      int getNewWidth()
      Get Width of the new resized image.
      void setNewHeight(int newHeight)
      Set Height of the new resized image.
      void setNewSize(int newWidth, int newHeight)
      Set Size of the new resized image.
      void setNewWidth(int newWidth)
      Set Width of the new resized image.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Resize

        public Resize(int newWidth,
                      int newHeight)
        Initialize a new instance of the Resize class.
        Parameters:
        newWidth - Width of the new resized image.
        newHeight - Height of the new resized image.
      • Resize

        public Resize(int newWidth,
                      int newHeight,
                      Resize.Algorithm algorithm)
        Initialize a new instance of the Resize class.
        Parameters:
        newWidth - Width of the new resized image.
        newHeight - Height of the new resized image.
        algorithm - Interpolation algorithm.
    • Method Detail

      • getNewHeight

        public int getNewHeight()
        Get Height of the new resized image.
        Returns:
        New height.
      • setNewHeight

        public void setNewHeight(int newHeight)
        Set Height of the new resized image.
        Parameters:
        newHeight - New height.
      • getNewWidth

        public int getNewWidth()
        Get Width of the new resized image.
        Returns:
        New width.
      • setNewWidth

        public void setNewWidth(int newWidth)
        Set Width of the new resized image.
        Parameters:
        newWidth - New width.
      • setNewSize

        public void setNewSize(int newWidth,
                               int newHeight)
        Set Size of the new resized image.
        Parameters:
        newWidth - Width of the new resized image.
        newHeight - Height of the new resized image.
      • apply

        public FastBitmap apply(FastBitmap fastBitmap)
        Description copied from interface: IApply
        Apply the filter
        Specified by:
        apply in interface IApply
        Parameters:
        fastBitmap - Image to be processed.
        Returns:
        A processed image.
      • applyInPlace

        public void applyInPlace(FastBitmap fastBitmap)
        Description copied from interface: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        fastBitmap - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.