org.apache.batik.svggen

Interface SVGFilterConverter

public interface SVGFilterConverter extends SVGSyntax

Defines the interface for classes that are able to convert a BufferedImageOp filter.

See Also: SVGFilterDescriptor

Method Summary
ListgetDefinitionSet()
SVGFilterDescriptortoSVG(BufferedImageOp filter, Rectangle filterRect)
Converts a Java 2D API BufferedImageOp into a set of attribute/value pairs and related definitions

Method Detail

getDefinitionSet

public List getDefinitionSet()

Returns: set of definitions referenced by the attribute values created by the implementation since its creation. The return value should never be null. If no definition is needed, an empty set should be returned.

toSVG

public SVGFilterDescriptor toSVG(BufferedImageOp filter, Rectangle filterRect)
Converts a Java 2D API BufferedImageOp into a set of attribute/value pairs and related definitions

Parameters: filter BufferedImageOp filter to be converted filterRect Rectangle, in device space, that defines the area to which filtering applies. May be null, meaning that the area is undefined.

Returns: descriptor of the attributes required to represent the input filter

See Also: SVGFilterDescriptor

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