Class SVGBufferedImageOp

java.lang.Object
org.apache.batik.svggen.AbstractSVGFilterConverter
org.apache.batik.svggen.SVGBufferedImageOp
All Implemented Interfaces:
XMLConstants, ErrorConstants, SVGFilterConverter, SVGSyntax, CSSConstants, SVGConstants

public class SVGBufferedImageOp extends AbstractSVGFilterConverter
Utility class that converts a BufferedImageOp object into an SVG filter.
See Also:
  • Constructor Details

    • 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 Details

    • getDefinitionSet

      public 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(BufferedImageOp op, 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: