org.apache.batik.svggen
public interface ExtensionHandler
Method Summary | |
---|---|
SVGCompositeDescriptor | handleComposite(Composite composite, SVGGeneratorContext generatorContext) |
SVGFilterDescriptor | handleFilter(BufferedImageOp filter, Rectangle filterRect, SVGGeneratorContext generatorContext) |
SVGPaintDescriptor | handlePaint(Paint paint, SVGGeneratorContext generatorContext) |
Parameters: composite Custom Composite to be converted to SVG. generatorContext allows the handler to build DOM objects as needed.
Returns: an SVGCompositeDescriptor which contains a valid SVG filter, or null if the composite cannot be handled
Parameters: filter Custom filter 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. generatorContext allows the handler to build DOM objects as needed.
Returns: an SVGFilterDescriptor which contains a valid SVG filter, or null if the composite cannot be handled
Parameters: paint Custom Paint to be converted to SVG generatorContext allows the handler to build DOM objects as needed.
Returns: an SVGPaintDescriptor