public class FlipFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
static int |
FLIP_180
Rotate the image 180 degrees.
|
static int |
FLIP_90CCW
Rotate the image 90 degrees counter-clockwise.
|
static int |
FLIP_90CW
Rotate the image 90 degrees clockwise.
|
static int |
FLIP_H
Flip the image horizontally.
|
static int |
FLIP_HV
Flip the image horizontally and vertically.
|
static int |
FLIP_V
Flip the image vertically.
|
filterListener
Constructor and Description |
---|
FlipFilter()
Construct a FlipFilter which flips horizontally and vertically.
|
FlipFilter(int operation)
Construct a FlipFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
ImageFilterOps |
getMetaData()
Bambi filter metadata.
|
int |
getOperation()
Get the filter operation.
|
void |
setOperation(int operation)
Set the filter operation.
|
String |
toString() |
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public static final int FLIP_H
public static final int FLIP_V
public static final int FLIP_HV
public static final int FLIP_90CW
public static final int FLIP_90CCW
public static final int FLIP_180
public FlipFilter()
public FlipFilter(int operation)
operation
- the filter operationpublic void setOperation(int operation)
operation
- the filter operationgetOperation()
public int getOperation()
setOperation(int)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class AbstractBufferedImageOp
public ImageFilterOps getMetaData()
AbstractBufferedImageOp
getMetaData
in interface ImageFilterOpSupport
getMetaData
in class AbstractBufferedImageOp
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.