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

Class Rotate

    • Nested Class Summary

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

      Constructors 
      Constructor and Description
      Rotate(double angle)
      Initialize a new instance of the Rotate class.
      Rotate(double angle, boolean keepSize)
      Initialize a new instance of the Rotate class.
      Rotate(double angle, boolean keepSize, Rotate.Algorithm algorithm)
      Initialize a new instance of the Rotate class.
      Rotate(double angle, Rotate.Algorithm algorithm)
      Initialize a new instance of the Rotate class.
    • Constructor Detail

      • Rotate

        public Rotate(double angle)
        Initialize a new instance of the Rotate class.
        Parameters:
        angle - Angle.
      • Rotate

        public Rotate(double angle,
                      boolean keepSize)
        Initialize a new instance of the Rotate class.
        Parameters:
        angle - Angle.
        keepSize - Keep the original size.
      • Rotate

        public Rotate(double angle,
                      Rotate.Algorithm algorithm)
        Initialize a new instance of the Rotate class.
        Parameters:
        angle - Angle.
        algorithm - Interpolation algorithm.
      • Rotate

        public Rotate(double angle,
                      boolean keepSize,
                      Rotate.Algorithm algorithm)
        Initialize a new instance of the Rotate class.
        Parameters:
        angle - Angle.
        keepSize - Keep the original size.
        algorithm - Interpolation algorithm.
    • Method Detail

      • getAngle

        public double getAngle()
        Get angle.
        Returns:
        Angle.
      • setAngle

        public void setAngle(double angle)
        Set angle [0..360].
        Parameters:
        angle - Angle.
      • isKeepSize

        public boolean isKeepSize()
        Keep original size.
        Returns:
        True if keep the original image size, otherwise false.
      • setKeepSize

        public void setKeepSize(boolean keepSize)
        Set keep original size.
        Parameters:
        keepSize - True if keep the original image size, otherwise false.
      • getAlgorithm

        public Rotate.Algorithm getAlgorithm()
        Get Interpolation algorithm.
        Returns:
        Interpolation algorithm.
      • setAlgorithm

        public void setAlgorithm(Rotate.Algorithm algorithm)
        Set Interpolation algorithm.
        Parameters:
        algorithm - Interpolation algorithm.
      • 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.