类 FlipFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.FlipFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class FlipFilter extends AbstractBufferedImageOp
A filter which flips images or rotates by multiples of 90 degrees.
-
-
字段概要
字段 修饰符和类型 字段 说明 static intFLIP_180Rotate the image 180 degrees.static intFLIP_90CCWRotate the image 90 degrees counter-clockwise.static intFLIP_90CWRotate the image 90 degrees clockwise.static intFLIP_HFlip the image horizontally.static intFLIP_HVFlip the image horizontally and vertically.static intFLIP_VFlip the image vertically.
-
构造器概要
构造器 构造器 说明 FlipFilter()Construct a FlipFilter which flips horizontally and vertically.FlipFilter(int operation)Construct a FlipFilter.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)intgetOperation()Get the filter operation.voidsetOperation(int operation)Set the filter operation.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
字段详细资料
-
FLIP_H
public static final int FLIP_H
Flip the image horizontally.- 另请参阅:
- 常量字段值
-
FLIP_V
public static final int FLIP_V
Flip the image vertically.- 另请参阅:
- 常量字段值
-
FLIP_HV
public static final int FLIP_HV
Flip the image horizontally and vertically.- 另请参阅:
- 常量字段值
-
FLIP_90CW
public static final int FLIP_90CW
Rotate the image 90 degrees clockwise.- 另请参阅:
- 常量字段值
-
FLIP_90CCW
public static final int FLIP_90CCW
Rotate the image 90 degrees counter-clockwise.- 另请参阅:
- 常量字段值
-
FLIP_180
public static final int FLIP_180
Rotate the image 180 degrees.- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
setOperation
public void setOperation(int operation)
Set the filter operation.- 参数:
operation- the filter operation- 另请参阅:
getOperation()
-
getOperation
public int getOperation()
Get the filter operation.- 返回:
- the filter operation
- 另请参阅:
setOperation(int)
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
-
-