|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.TransitionFilter
public class TransitionFilter
A filter which uses another filter to perform a transition. e.g. to create a blur transition, you could write: new TransitionFilter( new BoxBlurFilter(), "radius", 0, 100 );
Constructor Summary | |
---|---|
TransitionFilter(BufferedImageOp filter,
String property,
float minValue,
float maxValue)
Construct a TransitionFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
BufferedImage |
getDestination()
Get the destination image. |
float |
getTransition()
Get the transition of the image. |
void |
prepareFilter(float transition)
Prepare the filter for the transiton at a given time. |
void |
setDestination(BufferedImage destination)
Set the destination image. |
void |
setTransition(float transition)
Set the transition of the image in the range 0..1. |
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 |
---|
public TransitionFilter(BufferedImageOp filter, String property, float minValue, float maxValue)
filter
- the filter to useproperty
- the filter property which is changed over the transitionminValue
- the start value for the filter propertymaxValue
- the end value for the filter propertyMethod Detail |
---|
public void setTransition(float transition)
transition
- the transitiongetTransition()
public float getTransition()
setTransition(float)
public void setDestination(BufferedImage destination)
destination
- the destination imagegetDestination()
public BufferedImage getDestination()
setDestination(java.awt.image.BufferedImage)
public void prepareFilter(float transition)
transition
- the transition time in the range 0 - 1public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |