Package com.jhlabs.image
Class TileImageFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.TileImageFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class TileImageFilter extends AbstractBufferedImageOp
A filter which tiles an image into a lerger one.
-
-
Constructor Summary
Constructors Constructor Description TileImageFilter()Construct a TileImageFilter.TileImageFilter(int width, int height)Construct a TileImageFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImagefilter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)intgetHeight()Get the output image height.intgetWidth()Get the output image width.voidsetHeight(int height)Set the output image height.voidsetWidth(int width)Set the output image width.java.lang.StringtoString()-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
Method Detail
-
setWidth
public void setWidth(int width)
Set the output image width.- Parameters:
width- the width- See Also:
getWidth()
-
getWidth
public int getWidth()
Get the output image width.- Returns:
- the width
- See Also:
setWidth(int)
-
setHeight
public void setHeight(int height)
Set the output image height.- Parameters:
height- the height- See Also:
getHeight()
-
getHeight
public int getHeight()
Get the output image height.- Returns:
- the height
- See Also:
setHeight(int)
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-