Catalano.Imaging.Tools
Class ImagePadding
- java.lang.Object
-
- Catalano.Imaging.Tools.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 voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.intgetHeight()Get Height of expand value.intgetWidth()Get Width of expand value.voidsetHeight(int height)Set Height of expand value.voidsetSize(int size)Set Width and Height values.voidsetWidth(int width)Set Width of expand value.
-
-
-
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:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG