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.BufferedImage
filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
int
getHeight()
Get the output image height.int
getWidth()
Get the output image width.void
setHeight(int height)
Set the output image height.void
setWidth(int width)
Set the output image width.java.lang.String
toString()
-
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:
toString
in classjava.lang.Object
-
-