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:
RenderableImage, ComponentTransferRable, Filter, FilterColorInterpolation
public class ComponentTransferRable8Bit
extends AbstractColorInterpolationRable
implements ComponentTransferRable
This class implements the interface expected from a component
transfer operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class AbstractColorInterpolationRable
csLinearFields inherited from class AbstractRable
props, srcs, stampFields inherited from interface RenderableImage
HINTS_OBSERVED -
Constructor Summary
ConstructorsConstructorDescriptionComponentTransferRable8Bit(Filter src, ComponentTransferFunction alphaFunction, ComponentTransferFunction redFunction, ComponentTransferFunction greenFunction, ComponentTransferFunction blueFunction) -
Method Summary
Modifier and TypeMethodDescriptionReturns the transfer function for the alpha channelReturns the transfer function for the blue channelReturns the transfer function for the green channelReturns the transfer function for the red channelReturns the source of the blur operationvoidsetAlphaFunction(ComponentTransferFunction alphaFunction) Sets the transfer function for the alpha channelvoidsetBlueFunction(ComponentTransferFunction blueFunction) Sets the transfer function for the blue channelvoidsetGreenFunction(ComponentTransferFunction greenFunction) Sets the transfer function for the green channelvoidsetRedFunction(ComponentTransferFunction redFunction) Sets the transfer function for the red channelvoidSets the source of the blur operationMethods inherited from class AbstractColorInterpolationRable
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearMethods inherited from class AbstractRable
createDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touchMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface FilterColorInterpolation
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearMethods inherited from interface RenderableImage
createDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Field Details
-
ALPHA
public static final int ALPHA- See Also:
-
RED
public static final int RED- See Also:
-
GREEN
public static final int GREEN- See Also:
-
BLUE
public static final int BLUE- See Also:
-
-
Constructor Details
-
ComponentTransferRable8Bit
public ComponentTransferRable8Bit(Filter src, ComponentTransferFunction alphaFunction, ComponentTransferFunction redFunction, ComponentTransferFunction greenFunction, ComponentTransferFunction blueFunction)
-
-
Method Details
-
setSource
Sets the source of the blur operation- Specified by:
setSourcein interfaceComponentTransferRable- Parameters:
src- image to offset.
-
getSource
Returns the source of the blur operation- Specified by:
getSourcein interfaceComponentTransferRable
-
getAlphaFunction
Returns the transfer function for the alpha channel- Specified by:
getAlphaFunctionin interfaceComponentTransferRable
-
setAlphaFunction
Sets the transfer function for the alpha channel- Specified by:
setAlphaFunctionin interfaceComponentTransferRable
-
getRedFunction
Returns the transfer function for the red channel- Specified by:
getRedFunctionin interfaceComponentTransferRable
-
setRedFunction
Sets the transfer function for the red channel- Specified by:
setRedFunctionin interfaceComponentTransferRable
-
getGreenFunction
Returns the transfer function for the green channel- Specified by:
getGreenFunctionin interfaceComponentTransferRable
-
setGreenFunction
Sets the transfer function for the green channel- Specified by:
setGreenFunctionin interfaceComponentTransferRable
-
getBlueFunction
Returns the transfer function for the blue channel- Specified by:
getBlueFunctionin interfaceComponentTransferRable
-
setBlueFunction
Sets the transfer function for the blue channel- Specified by:
setBlueFunctionin interfaceComponentTransferRable
-
createRendering
- Specified by:
createRenderingin interfaceRenderableImage
-