org.apache.batik.bridge
public abstract class AbstractSVGFilterPrimitiveElementBridge extends AnimatableGenericSVGBridge implements FilterPrimitiveBridge, ErrorConstants
Constructor Summary | |
---|---|
protected | AbstractSVGFilterPrimitiveElementBridge()
Constructs a new bridge for a filter primitive element. |
Method Summary | |
---|---|
protected static int | convertInteger(Element filterElement, String attrName, int defaultValue, BridgeContext ctx)
Converts on the specified filter primitive element, the specified
attribute that represents an integer and with the specified
default value.
|
protected static float | convertNumber(Element filterElement, String attrName, float defaultValue, BridgeContext ctx)
Converts on the specified filter primitive element, the specified
attribute that represents a float and with the specified
default value.
|
protected static Filter | getIn(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)
Returns the input source of the specified filter primitive
element defined by its 'in' attribute.
|
protected static Filter | getIn2(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)
Returns the input source of the specified filter primitive
element defined by its 'in2' attribute. |
protected static void | handleColorInterpolationFilters(Filter filter, Element filterElement)
Handles the 'color-interpolation-filters' CSS property.
|
protected static void | updateFilterMap(Element filterElement, Filter filter, Map filterMap)
Updates the filterMap according to the specified parameters.
|
Parameters: filterElement the filter primitive element attrName the name of the attribute defaultValue the default value of the attribute ctx the BridgeContext to use for error information
Parameters: filterElement the filter primitive element attrName the name of the attribute defaultValue the default value of the attribute ctx the BridgeContext to use for error information
Parameters: filterElement the filter primitive element filteredElement the element on which the filter is referenced filteredNode the graphics node on which the filter is applied inputFilter the default input filter filterMap the map that containes the named filter primitives ctx the bridge context
Parameters: filterElement the filter primitive element filteredElement the element on which the filter is referenced filteredNode the graphics node on which the filter is applied inputFilter the default input filter filterMap the map that containes the named filter primitives ctx the bridge context
Parameters: filter the filter filterElement the filter element
Parameters: filterElement the filter primitive element filter the filter that is part of the filter chain filterMap the filter map to update