org.apache.batik.svggen
public class SVGRescaleOp extends AbstractSVGFilterConverter
See Also: SVGBufferedImageOp
Constructor Summary | |
---|---|
SVGRescaleOp(SVGGeneratorContext generatorContext) |
Method Summary | |
---|---|
SVGFilterDescriptor | toSVG(BufferedImageOp filter, Rectangle filterRect)
Converts a Java 2D API BufferedImageOp into
a set of attribute/value pairs and related definitions
|
SVGFilterDescriptor | toSVG(RescaleOp rescaleOp) |
Parameters: generatorContext used to build Elements
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
Parameters: rescaleOp the RescaleOp to be converted
Returns: a description of the SVG filter corresponding to rescaleOp. The definition of the feComponentTransfer filter in put in feComponentTransferDefSet