| java.lang.Object org.apache.batik.bridge.AbstractSVGBridge org.apache.batik.bridge.AnimatableSVGBridge org.apache.batik.bridge.AnimatableGenericSVGBridge org.apache.batik.bridge.AbstractSVGFilterPrimitiveElementBridge
All known Subclasses: org.apache.batik.bridge.SVGFeBlendElementBridge, org.apache.batik.bridge.SVGFeMergeElementBridge, org.apache.batik.bridge.SVGFeOffsetElementBridge, org.apache.batik.bridge.SVGFeColorMatrixElementBridge, org.apache.batik.bridge.SVGFeGaussianBlurElementBridge, org.apache.batik.bridge.SVGFeTurbulenceElementBridge, org.apache.batik.bridge.SVGFeDisplacementMapElementBridge, org.apache.batik.bridge.SVGFeFloodElementBridge, org.apache.batik.bridge.SVGFeCompositeElementBridge, org.apache.batik.extension.svg.BatikHistogramNormalizationElementBridge, org.apache.batik.bridge.SVGFeTileElementBridge, org.apache.batik.bridge.SVGFeComponentTransferElementBridge, org.apache.batik.bridge.SVGFeConvolveMatrixElementBridge, org.apache.batik.bridge.SVGFeImageElementBridge, org.apache.batik.bridge.AbstractSVGLightingElementBridge, org.apache.batik.bridge.SVGFeMorphologyElementBridge,
Field Summary | |
final static Rectangle2D | INFINITE_FILTER_REGION This is a bit of a hack but we set the flood bounds to
-floatmax/2 -> floatmax/2 (should cover the area ok). |
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. | static Filter | getFilterSource(Element filterElement, String s, Element filteredElement, GraphicsNode filteredNode, Map filterMap, BridgeContext ctx) Returns the filter source according to the specified parameters. | 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. |
INFINITE_FILTER_REGION | final static Rectangle2D INFINITE_FILTER_REGION(Code) | | This is a bit of a hack but we set the flood bounds to
-floatmax/2 -> floatmax/2 (should cover the area ok).
|
AbstractSVGFilterPrimitiveElementBridge | protected AbstractSVGFilterPrimitiveElementBridge()(Code) | | Constructs a new bridge for a filter primitive element.
|
convertInteger | protected static int convertInteger(Element filterElement, String attrName, int defaultValue, BridgeContext ctx)(Code) | | Converts on the specified filter primitive element, the specified
attribute that represents an integer and with the specified
default value.
Parameters: filterElement - the filter primitive element Parameters: attrName - the name of the attribute Parameters: defaultValue - the default value of the attribute Parameters: ctx - the BridgeContext to use for error information |
convertNumber | protected static float convertNumber(Element filterElement, String attrName, float defaultValue, BridgeContext ctx)(Code) | | Converts on the specified filter primitive element, the specified
attribute that represents a float and with the specified
default value.
Parameters: filterElement - the filter primitive element Parameters: attrName - the name of the attribute Parameters: defaultValue - the default value of the attribute Parameters: ctx - the BridgeContext to use for error information |
getFilterSource | static Filter getFilterSource(Element filterElement, String s, Element filteredElement, GraphicsNode filteredNode, Map filterMap, BridgeContext ctx)(Code) | | Returns the filter source according to the specified parameters.
Parameters: filterElement - the filter element Parameters: s - the input of the filter primitive Parameters: filteredElement - the filtered element Parameters: filteredNode - the filtered graphics node Parameters: filterMap - the filter map that contains named filter primitives Parameters: ctx - the bridge context |
getIn | protected static Filter getIn(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)(Code) | | Returns the input source of the specified filter primitive
element defined by its 'in' attribute.
Parameters: filterElement - the filter primitive element Parameters: filteredElement - the element on which the filter is referenced Parameters: filteredNode - the graphics node on which the filter is applied Parameters: inputFilter - the default input filter Parameters: filterMap - the map that containes the named filter primitives Parameters: ctx - the bridge context |
getIn2 | protected static Filter getIn2(Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Map filterMap, BridgeContext ctx)(Code) | | Returns the input source of the specified filter primitive
element defined by its 'in2' attribute. The 'in2' attribute is assumed
to be required if the subclasses ask for it.
Parameters: filterElement - the filter primitive element Parameters: filteredElement - the element on which the filter is referenced Parameters: filteredNode - the graphics node on which the filter is applied Parameters: inputFilter - the default input filter Parameters: filterMap - the map that containes the named filter primitives Parameters: ctx - the bridge context |
handleColorInterpolationFilters | protected static void handleColorInterpolationFilters(Filter filter, Element filterElement)(Code) | | Handles the 'color-interpolation-filters' CSS property.
Parameters: filter - the filter Parameters: filterElement - the filter element |
updateFilterMap | protected static void updateFilterMap(Element filterElement, Filter filter, Map filterMap)(Code) | | Updates the filterMap according to the specified parameters.
Parameters: filterElement - the filter primitive element Parameters: filter - the filter that is part of the filter chain Parameters: filterMap - the filter map to update |
|
|