org.apache.batik.bridge

Class SVGFeComponentTransferElementBridge.SVGFeFuncElementBridge

protected abstract static class SVGFeComponentTransferElementBridge.SVGFeFuncElementBridge extends AnimatableGenericSVGBridge

The base bridge class for component transfer function.
Constructor Summary
protected SVGFeFuncElementBridge()
Constructs a new bridge for component transfer function.
Method Summary
protected static float[]convertTableValues(Element e, BridgeContext ctx)
Converts the 'tableValues' attribute of the specified component transfer function element.
protected static intconvertType(Element e, BridgeContext ctx)
Converts the type of the specified component transfert function element.
ComponentTransferFunctioncreateComponentTransferFunction(Element filterElement, Element funcElement)
Creates a ComponentTransferFunction according to the specified parameters.

Constructor Detail

SVGFeFuncElementBridge

protected SVGFeFuncElementBridge()
Constructs a new bridge for component transfer function.

Method Detail

convertTableValues

protected static float[] convertTableValues(Element e, BridgeContext ctx)
Converts the 'tableValues' attribute of the specified component transfer function element.

Parameters: e the element that represents a component transfer function ctx the BridgeContext to use for error information

convertType

protected static int convertType(Element e, BridgeContext ctx)
Converts the type of the specified component transfert function element.

Parameters: e the element that represents a component transfer function ctx the BridgeContext to use for error information

createComponentTransferFunction

public ComponentTransferFunction createComponentTransferFunction(Element filterElement, Element funcElement)
Creates a ComponentTransferFunction according to the specified parameters.

Parameters: filterElement the feComponentTransfer filter primitive element funcElement the feFuncX element

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