public class MirrorFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
private float |
angle |
private float |
centreY |
private float |
distance |
private float |
gap |
private float |
opacity |
private float |
rotation |
Constructor and Description |
---|
MirrorFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
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) |
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float opacity
private float centreY
private float distance
private float angle
private float rotation
private float gap
public MirrorFilter()
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 BufferedImage filter(BufferedImage src, BufferedImage dst)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses