public class BlockFilter extends TransformFilter implements DynFiltering
BILINEAR, NEAREST_NEIGHBOUR
Constructor and Description |
---|
BlockFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
getBlockSize()
Get the pixel block size.
|
void |
setBlockSize(int blockSize)
Set the pixel block size.
|
String |
toString() |
filter, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public BlockFilter()
public void setBlockSize(int blockSize)
blockSize
- the number of pixels along each block edgegetBlockSize()
public int getBlockSize()
setBlockSize(int)
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
Copyright © 2015 Lucee