org.apache.batik.ext.awt.image.renderable

Class ComponentTransferRable8Bit

public class ComponentTransferRable8Bit extends AbstractColorInterpolationRable implements ComponentTransferRable

This class implements the interface expected from a component transfer operation.
Field Summary
static intALPHA
static intBLUE
static intGREEN
static intRED
Constructor Summary
ComponentTransferRable8Bit(Filter src, ComponentTransferFunction alphaFunction, ComponentTransferFunction redFunction, ComponentTransferFunction greenFunction, ComponentTransferFunction blueFunction)
Method Summary
RenderedImagecreateRendering(RenderContext rc)
ComponentTransferFunctiongetAlphaFunction()
Returns the transfer function for the alpha channel
ComponentTransferFunctiongetBlueFunction()
Returns the transfer function for the blue channel
ComponentTransferFunctiongetGreenFunction()
Returns the transfer function for the green channel
ComponentTransferFunctiongetRedFunction()
Returns the transfer function for the red channel
FiltergetSource()
Returns the source of the blur operation
voidsetAlphaFunction(ComponentTransferFunction alphaFunction)
Sets the transfer function for the alpha channel
voidsetBlueFunction(ComponentTransferFunction blueFunction)
Sets the transfer function for the blue channel
voidsetGreenFunction(ComponentTransferFunction greenFunction)
Sets the transfer function for the green channel
voidsetRedFunction(ComponentTransferFunction redFunction)
Sets the transfer function for the red channel
voidsetSource(Filter src)
Sets the source of the blur operation

Field Detail

ALPHA

public static final int ALPHA

BLUE

public static final int BLUE

GREEN

public static final int GREEN

RED

public static final int RED

Constructor Detail

ComponentTransferRable8Bit

public ComponentTransferRable8Bit(Filter src, ComponentTransferFunction alphaFunction, ComponentTransferFunction redFunction, ComponentTransferFunction greenFunction, ComponentTransferFunction blueFunction)

Method Detail

createRendering

public RenderedImage createRendering(RenderContext rc)

getAlphaFunction

public ComponentTransferFunction getAlphaFunction()
Returns the transfer function for the alpha channel

getBlueFunction

public ComponentTransferFunction getBlueFunction()
Returns the transfer function for the blue channel

getGreenFunction

public ComponentTransferFunction getGreenFunction()
Returns the transfer function for the green channel

getRedFunction

public ComponentTransferFunction getRedFunction()
Returns the transfer function for the red channel

getSource

public Filter getSource()
Returns the source of the blur operation

setAlphaFunction

public void setAlphaFunction(ComponentTransferFunction alphaFunction)
Sets the transfer function for the alpha channel

setBlueFunction

public void setBlueFunction(ComponentTransferFunction blueFunction)
Sets the transfer function for the blue channel

setGreenFunction

public void setGreenFunction(ComponentTransferFunction greenFunction)
Sets the transfer function for the green channel

setRedFunction

public void setRedFunction(ComponentTransferFunction redFunction)
Sets the transfer function for the red channel

setSource

public void setSource(Filter src)
Sets the source of the blur operation
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.