Class SVGCustomBufferedImageOp

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

public class SVGCustomBufferedImageOp extends AbstractSVGFilterConverter
Utility class that converts an custom BufferedImageOp object into an equivalent SVG filter.
Version:
$Id: SVGCustomBufferedImageOp.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

  • Constructor Details

    • SVGCustomBufferedImageOp

      public SVGCustomBufferedImageOp(SVGGeneratorContext generatorContext)
      Parameters:
      generatorContext - for use by SVGCustomBufferedImageOp to build Elements.
  • Method Details

    • toSVG

      public SVGFilterDescriptor toSVG(BufferedImageOp filter, Rectangle filterRect)
      Description copied from interface: SVGFilterConverter
      Converts a Java 2D API BufferedImageOp into a set of attribute/value pairs and related definitions
      Parameters:
      filter - the BufferedImageOp object to convert 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 mapping the SVG BufferedImageOp equivalent to the input BufferedImageOp.
      See Also: