public class BlockFilter extends AbstractBufferedImageOp
filterListener
Constructor and Description |
---|
BlockFilter()
Construct a BlockFilter.
|
BlockFilter(int blockSize)
Construct a BlockFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
int |
getBlockSize()
Get the pixel block size.
|
void |
setBlockSize(int blockSize)
Set the pixel block size.
|
String |
toString() |
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public BlockFilter()
public BlockFilter(int blockSize)
blockSize
- the number of pixels along each block edgepublic void setBlockSize(int blockSize)
blockSize
- the number of pixels along each block edgegetBlockSize()
public int getBlockSize()
setBlockSize(int)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class AbstractBufferedImageOp
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.