org.apache.batik.svggen

Class SVGBufferedImageOp

public class SVGBufferedImageOp extends AbstractSVGFilterConverter

Utility class that converts a BufferedImageOp object into an SVG filter.

See Also: SVGCustomBufferedImageOp SVGLookupOp SVGRescaleOp SVGConvolveOp

Constructor Summary
SVGBufferedImageOp(SVGGeneratorContext generatorContext)
Method Summary
SVGConvolveOpgetConvolveOpConverter()
SVGCustomBufferedImageOpgetCustomBufferedImageOpConverter()
ListgetDefinitionSet()
SVGLookupOpgetLookupOpConverter()
SVGRescaleOpgetRescaleOpConverter()
SVGFilterDescriptortoSVG(BufferedImageOp op, Rectangle filterRect)

Constructor Detail

SVGBufferedImageOp

public SVGBufferedImageOp(SVGGeneratorContext generatorContext)

Parameters: generatorContext used by the converter to create Element and other needed DOM objects and to handle unknown BufferedImageOp implementations.

Method Detail

getConvolveOpConverter

public SVGConvolveOp getConvolveOpConverter()

getCustomBufferedImageOpConverter

public SVGCustomBufferedImageOp getCustomBufferedImageOpConverter()

getDefinitionSet

public List getDefinitionSet()

Returns: Set of filter Elements defining the BufferedImageOp this Converter has processed since it was created.

getLookupOpConverter

public SVGLookupOp getLookupOpConverter()

getRescaleOpConverter

public SVGRescaleOp getRescaleOpConverter()

toSVG

public SVGFilterDescriptor toSVG(BufferedImageOp op, Rectangle filterRect)

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

Returns: an SVGFilterDescriptor representing the SVG filter equivalent of the input BufferedImageOp

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