Teppefall

com.teppefall.ds.render2d
Class D2DGenericFilter

java.lang.Object
  extended by com.teppefall.ds.render2d.D2DGenericFilter
All Implemented Interfaces:
D2DFilter, java.io.Serializable
Direct Known Subclasses:
D2DFilterBloom, D2DFilterBlur, D2DFilterEdge, D2DFilterEmboss, D2DFilterInvert, D2DFilterInvertBlue, D2DFilterMirror, D2DFilterPosterize, D2DFilterSharpen, D2DFilterSplit, D2DFilterThreshold

public class D2DGenericFilter
extends java.lang.Object
implements D2DFilter

See Also:
Serialized Form

Constructor Summary
D2DGenericFilter(java.lang.String text)
           
D2DGenericFilter(java.lang.String text, java.awt.image.BufferedImageOp op)
           
D2DGenericFilter(java.lang.String text, java.lang.String name, java.awt.image.BufferedImageOp op)
           
 
Method Summary
 java.awt.image.BufferedImage apply(java.awt.image.BufferedImage source)
           
 java.awt.image.BufferedImage getDestination()
           
 java.lang.String getName()
           
 java.lang.String getText()
           
 boolean isUsingSourceAsDestination()
           
 void setDestination(java.awt.image.BufferedImage destination)
           
 void setUsingSourceAsDestination(boolean usingSourceAsDestination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

D2DGenericFilter

public D2DGenericFilter(java.lang.String text)

D2DGenericFilter

public D2DGenericFilter(java.lang.String text,
                        java.awt.image.BufferedImageOp op)

D2DGenericFilter

public D2DGenericFilter(java.lang.String text,
                        java.lang.String name,
                        java.awt.image.BufferedImageOp op)
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface D2DFilter

getName

public java.lang.String getName()
Specified by:
getName in interface D2DFilter

apply

public java.awt.image.BufferedImage apply(java.awt.image.BufferedImage source)
Specified by:
apply in interface D2DFilter

setDestination

public void setDestination(java.awt.image.BufferedImage destination)

getDestination

public java.awt.image.BufferedImage getDestination()

isUsingSourceAsDestination

public boolean isUsingSourceAsDestination()

setUsingSourceAsDestination

public void setUsingSourceAsDestination(boolean usingSourceAsDestination)

Teppefall