public class BicubicScaleFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
BicubicScaleFilter()
Construct a BicubicScaleFilter which resizes to 256x256 pixels.
|
BicubicScaleFilter(int width,
int height)
Constructor for a filter which scales the input image to the given width and height using bicubic interpolation.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
int |
getHeight() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setWidth(int width) |
java.lang.String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public BicubicScaleFilter()
public BicubicScaleFilter(int width, int height)
width
- the width of the output imageheight
- the height of the output imagepublic java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public int getHeight()
public int getWidth()
public void setHeight(int height)
public void setWidth(int width)
public java.lang.String toString()
toString
in class java.lang.Object