public class MirrorFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
MirrorFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
float |
getAngle()
Returns the angle of the mirror.
|
float |
getCentreY() |
float |
getDistance() |
float |
getGap() |
float |
getOpacity()
Get the opacity of the reflection.
|
float |
getRotation() |
void |
setAngle(float angle)
Specifies the angle of the mirror.
|
void |
setCentreY(float centreY) |
void |
setDistance(float distance) |
void |
setGap(float gap) |
void |
setOpacity(float opacity)
Set the opacity of the reflection.
|
void |
setRotation(float rotation) |
java.lang.String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setAngle(float angle)
angle
- the angle of the mirror.getAngle()
public float getAngle()
setAngle(float)
public void setDistance(float distance)
public float getDistance()
public void setRotation(float rotation)
public float getRotation()
public void setGap(float gap)
public float getGap()
public void setOpacity(float opacity)
opacity
- the opacity.getOpacity()
public float getOpacity()
setOpacity(float)
public void setCentreY(float centreY)
public float getCentreY()
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