com.jhlabs.image

Class MirrorFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class MirrorFilter
extends AbstractBufferedImageOp

Constructor Summary

MirrorFilter()

Method Summary

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()

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

MirrorFilter

public MirrorFilter()

Method Details

filter

public BufferedImage filter(BufferedImage src,
                            BufferedImage dst)

getAngle

public float getAngle()
Returns the angle of the mirror.
Returns:
the angle of the mirror.

getCentreY

public float getCentreY()

getDistance

public float getDistance()

getGap

public float getGap()

getOpacity

public float getOpacity()
Get the opacity of the reflection.
Returns:
the opacity.

getRotation

public float getRotation()

setAngle

public void setAngle(float angle)
Specifies the angle of the mirror.
Parameters:
angle - the angle of the mirror.

setCentreY

public void setCentreY(float centreY)

setDistance

public void setDistance(float distance)

setGap

public void setGap(float gap)

setOpacity

public void setOpacity(float opacity)
Set the opacity of the reflection.
Parameters:
opacity - the opacity.

setRotation

public void setRotation(float rotation)

toString

public String toString()