railo.runtime.img.filter
Class TileImageFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.TileImageFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class TileImageFilter
extends AbstractBufferedImageOp
implements DynFiltering

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)
           
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 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 railo.runtime.img.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, 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 BufferedImage filter(BufferedImage src,
                            BufferedImage dst)
Specified by:
filter in interface BufferedImageOp

toString

public String toString()
Overrides:
toString in class Object

filter

public BufferedImage filter(BufferedImage src,
                            Struct parameters)
                     throws PageException
Specified by:
filter in interface DynFiltering
Throws:
PageException


Copyright © 2012 Railo