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

Interface ComponentTransferRable

public interface ComponentTransferRable extends FilterColorInterpolation

Defines the interface expected from a component transfer operation.
Method Summary
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 to be offset.
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 to be offset.

Method Detail

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 to be offset.

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 to be offset.

Parameters: src image to offset.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.