public class JHFlipFilter extends JHFilter
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.
|
Constructor and Description |
---|
JHFlipFilter()
Construct a FlipFilter which flips horizontally and vertically.
|
JHFlipFilter(int operation)
Construct a FlipFilter.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
int |
getOperation()
Get the filter operation.
|
void |
setOperation(int operation)
Set the filter operation.
|
java.lang.String |
toString() |
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public static final int FLIP_90CW
public static final int FLIP_90CCW
public static final int FLIP_180
public JHFlipFilter()
public JHFlipFilter(int operation)
operation
- the filter operationpublic void setOperation(int operation)
operation
- the filter operationgetOperation()
public int getOperation()
setOperation(int)
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012-2018 Bartosz Firyn (SarXos). All Rights Reserved.