Documentation of 'Catalano.Imaging.Tools.ImagePadding' Java class
ImagePadding
Catalano.Imaging.Tools

Class ImagePadding

  • All Implemented Interfaces:
    IApplyInPlace


    public class ImagePadding
    extends java.lang.Object
    implements IApplyInPlace
    Image padding. Fill the image with zero. Zero padding technique.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImagePadding()
      Initialize a new instance of the ImagePadding class.
      ImagePadding(int size)
      Initialize a new instance of the ImagePadding class.
      ImagePadding(int width, int height)
      Initialize a new instance of the ImagePadding class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      int getHeight()
      Get Height of expand value.
      int getWidth()
      Get Width of expand value.
      void setHeight(int height)
      Set Height of expand value.
      void setSize(int size)
      Set Width and Height values.
      void setWidth(int width)
      Set Width of expand value.
      • Methods inherited from class java.lang.Object

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

      • ImagePadding

        public ImagePadding()
        Initialize a new instance of the ImagePadding class.
      • ImagePadding

        public ImagePadding(int size)
        Initialize a new instance of the ImagePadding class.
        Parameters:
        size - Size.
      • ImagePadding

        public ImagePadding(int width,
                            int height)
        Initialize a new instance of the ImagePadding class.
        Parameters:
        width - Expand width value.
        height - Expand height value.
    • Method Detail

      • getWidth

        public int getWidth()
        Get Width of expand value.
        Returns:
        Width.
      • setWidth

        public void setWidth(int width)
        Set Width of expand value.
        Parameters:
        width - Width.
      • getHeight

        public int getHeight()
        Get Height of expand value.
        Returns:
        Height.
      • setHeight

        public void setHeight(int height)
        Set Height of expand value.
        Parameters:
        height - Height.
      • setSize

        public void setSize(int size)
        Set Width and Height values.
        Parameters:
        size - Size.
      • 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.