com.jhlabs.image
Class TileImageFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by 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
TileImageFilter()
          Construct a TileImageFilter.
TileImageFilter(int width, int height)
          Construct a TileImageFilter.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TileImageFilter

public TileImageFilter()
Construct a TileImageFilter.


TileImageFilter

public TileImageFilter(int width,
                       int height)
Construct a TileImageFilter.

Parameters:
width - the output image width
height - the output image height
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 class java.lang.Object