Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: 
java.lang.Object
  extended by org.apache.batik.svggen.AbstractSVGFilterConverter
      extended by org.apache.batik.svggen.SVGBufferedImageOp
All Implemented Interfaces:
ErrorConstants, SVGFilterConverter, SVGSyntax, CSSConstants, SVGConstants, XMLConstants

public class SVGBufferedImageOp
extends AbstractSVGFilterConverter

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

See Also:
SVGCustomBufferedImageOp, SVGLookupOp, SVGRescaleOp, SVGConvolveOp

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

getDefinitionSet

public java.util.List getDefinitionSet()
Specified by:
getDefinitionSet in interface SVGFilterConverter
Overrides:
getDefinitionSet in class AbstractSVGFilterConverter
Returns:
Set of filter Elements defining the BufferedImageOp this Converter has processed since it was created.

getLookupOpConverter

public SVGLookupOp getLookupOpConverter()

getRescaleOpConverter

public SVGRescaleOp getRescaleOpConverter()

getConvolveOpConverter

public SVGConvolveOp getConvolveOpConverter()

getCustomBufferedImageOpConverter

public SVGCustomBufferedImageOp getCustomBufferedImageOpConverter()

toSVG

public SVGFilterDescriptor toSVG(java.awt.image.BufferedImageOp op,
                                 java.awt.Rectangle filterRect)
Description copied from interface: SVGFilterConverter
Converts a Java 2D API BufferedImageOp into a set of attribute/value pairs and related definitions

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
See Also:
SVGFilterDescriptor

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: