Class SVGLookupOp

    • Constructor Detail

      • SVGLookupOp

        public SVGLookupOp​(SVGGeneratorContext generatorContext)
        Parameters:
        generatorContext - used to build Elements
    • Method Detail

      • toSVG

        public SVGFilterDescriptor toSVG​(java.awt.image.BufferedImageOp filter,
                                         java.awt.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
      • toSVG

        public SVGFilterDescriptor toSVG​(java.awt.image.LookupOp lookupOp)
        Parameters:
        lookupOp - the LookupOp to be converted
        Returns:
        a description of the SVG filter corresponding to lookupOp. The definition of the feComponentTransfer filter in put in feComponentTransferDefSet