public class ScaleFilter extends AbstractBufferedImageOp implements DynFiltering
Constructor and Description |
---|
ScaleFilter()
Construct a ScaleFilter.
|
ScaleFilter(int width,
int height)
Construct a ScaleFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
void |
setHeight(int height) |
void |
setWidth(int width) |
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public ScaleFilter()
public ScaleFilter(int width, int height)
width
- the width to scale toheight
- the height to scale topublic void setWidth(int width)
width
- the width to setpublic void setHeight(int height)
height
- the height to setpublic BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
Copyright © 2015 Lucee