Package | Description |
---|---|
org.apache.batik.svggen |
Provides an API on top of the
AbstractGraphics2D to translate
Java 2D primitives into the SVG format. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultErrorHandler.handleError(SVGGraphics2DIOException ex)
This method handles the
SVGGraphics2DIOException . |
void |
ErrorHandler.handleError(SVGGraphics2DIOException ex)
This method handles the
SVGGraphics2DIOException . |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultCachedImageHandler.cacheBufferedImage(Element imageElement,
BufferedImage buf,
SVGGeneratorContext generatorContext) |
void |
ImageHandlerJPEGEncoder.encodeImage(BufferedImage buf,
File imageFile)
Derived classes should implement this method and encode the input
BufferedImage as needed
|
abstract void |
AbstractImageHandlerEncoder.encodeImage(BufferedImage buf,
File imageFile)
Derived classes should implement this method and encode the input
BufferedImage as needed
|
void |
ImageHandlerPNGEncoder.encodeImage(BufferedImage buf,
File imageFile)
Derived classes should implement this method and encode the input
BufferedImage as needed
|
void |
ImageHandlerBase64Encoder.encodeImage(RenderedImage buf,
OutputStream os) |
void |
DefaultErrorHandler.handleError(SVGGraphics2DIOException ex)
This method handles the
SVGGraphics2DIOException . |
void |
ErrorHandler.handleError(SVGGraphics2DIOException ex)
This method handles the
SVGGraphics2DIOException . |
void |
ImageHandlerBase64Encoder.handleHREF(Image image,
Element imageElement,
SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes.
|
protected void |
DefaultImageHandler.handleHREF(Image image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
protected void |
AbstractImageHandlerEncoder.handleHREF(Image image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
void |
DefaultCachedImageHandler.handleHREF(Image image,
Element imageElement,
SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes.
|
void |
ImageHandlerBase64Encoder.handleHREF(RenderableImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and the width and
height attributes.
|
protected void |
DefaultImageHandler.handleHREF(RenderableImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
protected void |
AbstractImageHandlerEncoder.handleHREF(RenderableImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
protected void |
DefaultCachedImageHandler.handleHREF(RenderableImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This method will delegate to the
handleHREF which
uses a RenderedImage |
void |
ImageHandlerBase64Encoder.handleHREF(RenderedImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This version of handleHREF encodes the input image into a
PNG image whose bytes are then encoded with Base64.
|
protected void |
DefaultImageHandler.handleHREF(RenderedImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
protected void |
AbstractImageHandlerEncoder.handleHREF(RenderedImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
protected void |
DefaultCachedImageHandler.handleHREF(RenderedImage image,
Element imageElement,
SVGGeneratorContext generatorContext)
This template method should set the xlink:href attribute on the input
Element parameter
|
String |
ImageCacher.lookup(ByteArrayOutputStream os,
int width,
int height,
SVGGeneratorContext ctx)
Checks if the image is already in the cache, and
adds it if not.
|
void |
SVGGraphics2D.stream(Element svgRoot,
Writer writer) |
void |
SVGGraphics2D.stream(Element svgRoot,
Writer writer,
boolean useCss,
boolean escaped) |
void |
SVGGraphics2D.stream(String svgFileName) |
void |
SVGGraphics2D.stream(String svgFileName,
boolean useCss) |
void |
SVGGraphics2D.stream(Writer writer) |
void |
SVGGraphics2D.stream(Writer writer,
boolean useCss) |
void |
SVGGraphics2D.stream(Writer writer,
boolean useCss,
boolean escaped) |
Constructor and Description |
---|
AbstractImageHandlerEncoder(String imageDir,
String urlRoot) |
CachedImageHandlerJPEGEncoder(String imageDir,
String urlRoot) |
CachedImageHandlerPNGEncoder(String imageDir,
String urlRoot) |
ImageHandlerJPEGEncoder(String imageDir,
String urlRoot) |
ImageHandlerPNGEncoder(String imageDir,
String urlRoot) |
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.