railo.runtime.img.filter
Class MirrorFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.MirrorFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class MirrorFilter
extends AbstractBufferedImageOp
implements DynFiltering


Constructor Summary
MirrorFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, BufferedImage dst)
           
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 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 railo.runtime.img.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MirrorFilter

public MirrorFilter()
Method Detail

setAngle

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

Parameters:
angle - the angle of the mirror.
See Also:
getAngle()

getAngle

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

Returns:
the angle of the mirror.
See Also:
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.

Parameters:
opacity - the opacity.
See Also:
getOpacity()

getOpacity

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

Returns:
the opacity.
See Also:
setOpacity(float)

setCentreY

public void setCentreY(float centreY)

getCentreY

public float getCentreY()

filter

public BufferedImage filter(BufferedImage src,
                            BufferedImage dst)
Specified by:
filter in interface BufferedImageOp

toString

public String toString()
Overrides:
toString in class Object

filter

public BufferedImage filter(BufferedImage src,
                            Struct parameters)
                     throws PageException
Specified by:
filter in interface DynFiltering
Throws:
PageException


Copyright © 2012 Railo