com.jhlabs.image

Class TileImageFilter

Implemented Interfaces:
BufferedImageOp, 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

BufferedImage
filter(BufferedImage src, 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.
String
toString()

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

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 Details

filter

public BufferedImage filter(BufferedImage src,
                            BufferedImage dst)

getHeight

public int getHeight()
Get the output image height.
Returns:
the height

getWidth

public int getWidth()
Get the output image width.
Returns:
the width

setHeight

public void setHeight(int height)
Set the output image height.
Parameters:
height - the height

setWidth

public void setWidth(int width)
Set the output image width.
Parameters:
width - the width

toString

public String toString()