com.jhlabs.image
Class FlipFilter
- BufferedImageOp, Cloneable
A filter which flips images or rotates by multiples of 90 degrees.
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.
|
FlipFilter()- Construct a FlipFilter which flips horizontally and vertically.
|
FlipFilter(int operation)- Construct a FlipFilter.
|
FLIP_180
public static final int FLIP_180
Rotate the image 180 degrees.
FLIP_90CCW
public static final int FLIP_90CCW
Rotate the image 90 degrees counter-clockwise.
FLIP_90CW
public static final int FLIP_90CW
Rotate the image 90 degrees clockwise.
FLIP_H
public static final int FLIP_H
Flip the image horizontally.
FLIP_HV
public static final int FLIP_HV
Flip the image horizontally and vertically.
FLIP_V
public static final int FLIP_V
Flip the image vertically.
FlipFilter
public FlipFilter()
Construct a FlipFilter which flips horizontally and vertically.
FlipFilter
public FlipFilter(int operation)
Construct a FlipFilter.
operation - the filter operation
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
getOperation
public int getOperation()
Get the filter operation.
setOperation
public void setOperation(int operation)
Set the filter operation.
operation - the filter operation
toString
public String toString()