org.jdesktop.jxlayer.plaf.effect
Class AbstractBufferedImageOpEffect
java.lang.Object
org.jdesktop.jxlayer.plaf.effect.AbstractLayerEffect
org.jdesktop.jxlayer.plaf.effect.AbstractBufferedImageOpEffect
- All Implemented Interfaces:
- LayerEffect
- Direct Known Subclasses:
- BufferedImageOpEffect
public class AbstractBufferedImageOpEffect
- extends AbstractLayerEffect
The base class for BufferedImageOpEffect
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBufferedImageOpEffect
public AbstractBufferedImageOpEffect()
apply
public void apply(BufferedImage buffer,
Shape clip)
- Performes some operations on the passed
BufferedImage.
The effect may take into account the passed clip shape
to speed the processing up.
Filters the passed image using clip and
BufferedImageOps provided by getBufferedImageOps()
- Parameters:
buffer - the BufferedImage to be processedclip - the clip shape or null
if the entire BufferedImage must be processed
getBufferedImageOps
protected BufferedImageOp[] getBufferedImageOps()
- Returns the array of
BufferedImageOps
specified for this LayerEffect.
- Returns:
- the array of
BufferedImageOps
specified for this LayerEffect
Copyright © 2011. All Rights Reserved.