类 MirrorFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.MirrorFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class MirrorFilter extends AbstractBufferedImageOp
-
-
构造器概要
构造器 构造器 说明 MirrorFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.awt.image.BufferedImagefilter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)floatgetAngle()Returns the angle of the mirror.floatgetCentreY()floatgetDistance()floatgetGap()floatgetOpacity()Get the opacity of the reflection.floatgetRotation()voidsetAngle(float angle)Specifies the angle of the mirror.voidsetCentreY(float centreY)voidsetDistance(float distance)voidsetGap(float gap)voidsetOpacity(float opacity)Set the opacity of the reflection.voidsetRotation(float rotation)java.lang.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setAngle
public void setAngle(float angle)
Specifies the angle of the mirror.- 参数:
angle- the angle of the mirror.- 另请参阅:
getAngle()
-
getAngle
public float getAngle()
Returns the angle of the mirror.- 返回:
- the angle of the mirror.
- 另请参阅:
setAngle(float)
-
setDistance
public void setDistance(float distance)
-
getDistance
public float getDistance()
-
setRotation
public void setRotation(float rotation)
-
getRotation
public float getRotation()
-
setGap
public void setGap(float gap)
-
getGap
public float getGap()
-
setOpacity
public void setOpacity(float opacity)
Set the opacity of the reflection.- 参数:
opacity- the opacity.- 另请参阅:
getOpacity()
-
getOpacity
public float getOpacity()
Get the opacity of the reflection.- 返回:
- the opacity.
- 另请参阅:
setOpacity(float)
-
setCentreY
public void setCentreY(float centreY)
-
getCentreY
public float getCentreY()
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-