org.apache.batik.ext.awt.image.renderable
Class ComponentTransferRable8Bit
java.lang.Object
|
+--org.apache.batik.ext.awt.image.renderable.AbstractRable
|
+--org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable
|
+--org.apache.batik.ext.awt.image.renderable.ComponentTransferRable8Bit
- All Implemented Interfaces:
- ComponentTransferRable, Filter, FilterColorInterpolation, java.awt.image.renderable.RenderableImage
- public class ComponentTransferRable8Bit
- extends AbstractColorInterpolationRable
- implements ComponentTransferRable
This class implements the interface expected from a component
transfer operation.
Fields inherited from interface java.awt.image.renderable.RenderableImage |
HINTS_OBSERVED |
Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
createDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.image.renderable.RenderableImage |
createDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
ALPHA
public static final int ALPHA
RED
public static final int RED
GREEN
public static final int GREEN
BLUE
public static final int BLUE
ComponentTransferRable8Bit
public ComponentTransferRable8Bit(Filter src,
ComponentTransferFunction alphaFunction,
ComponentTransferFunction redFunction,
ComponentTransferFunction greenFunction,
ComponentTransferFunction blueFunction)
setSource
public void setSource(Filter src)
- Sets the source of the blur operation
- Specified by:
setSource
in interface ComponentTransferRable
- Following copied from interface:
org.apache.batik.ext.awt.image.renderable.ComponentTransferRable
- Parameters:
src
- image to offset.
getSource
public Filter getSource()
- Returns the source of the blur operation
- Specified by:
getSource
in interface ComponentTransferRable
getAlphaFunction
public ComponentTransferFunction getAlphaFunction()
- Returns the transfer function for the alpha channel
- Specified by:
getAlphaFunction
in interface ComponentTransferRable
setAlphaFunction
public void setAlphaFunction(ComponentTransferFunction alphaFunction)
- Sets the transfer function for the alpha channel
- Specified by:
setAlphaFunction
in interface ComponentTransferRable
getRedFunction
public ComponentTransferFunction getRedFunction()
- Returns the transfer function for the red channel
- Specified by:
getRedFunction
in interface ComponentTransferRable
setRedFunction
public void setRedFunction(ComponentTransferFunction redFunction)
- Sets the transfer function for the red channel
- Specified by:
setRedFunction
in interface ComponentTransferRable
getGreenFunction
public ComponentTransferFunction getGreenFunction()
- Returns the transfer function for the green channel
- Specified by:
getGreenFunction
in interface ComponentTransferRable
setGreenFunction
public void setGreenFunction(ComponentTransferFunction greenFunction)
- Sets the transfer function for the green channel
- Specified by:
setGreenFunction
in interface ComponentTransferRable
getBlueFunction
public ComponentTransferFunction getBlueFunction()
- Returns the transfer function for the blue channel
- Specified by:
getBlueFunction
in interface ComponentTransferRable
setBlueFunction
public void setBlueFunction(ComponentTransferFunction blueFunction)
- Sets the transfer function for the blue channel
- Specified by:
setBlueFunction
in interface ComponentTransferRable
createRendering
public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
- Specified by:
createRendering
in interface java.awt.image.renderable.RenderableImage
Copyright © 2002 Apache Software Foundation. All Rights Reserved.