org.apache.batik.svggen
Interface ImageHandler
public
interface
ImageHandler
extends SVGSyntax
This interface allows the user of the Graphics2D SVG generator
to decide how to handle images that it renders. For example,
an implementation could decide to embed JPEG/PNG encoded images
into SVG source document using the data protocol (RFC 1521, paragraph 5.2)
Another option is to save images into JPEG/PNG files and store URI
in SVG source.
See Also: SVGGraphics2D
Method Summary |
void | handleImage(Image image, Element imageElement, SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes. |
void | handleImage(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes. |
void | handleImage(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes. |
public void handleImage(Image image, Element imageElement,
SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes.
public void handleImage(RenderedImage image, Element imageElement,
SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes.
public void handleImage(RenderableImage image, Element imageElement,
SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.