Uses of Interface
org.apache.batik.svggen.ImageHandler
Packages that use ImageHandler
Package
Description
Provides an API on top of the
AbstractGraphics2D
to translate
Java 2D primitives into the SVG format.-
Uses of ImageHandler in org.apache.batik.svggen
Classes in org.apache.batik.svggen that implement ImageHandlerModifier and TypeClassDescriptionclass
This abstract implementation of the ImageHandler interface is intended to be the base class for ImageHandlers that generate image files for all the images they handle.class
This class provides a default implementation of the ImageHandler interface simply puts a place holder in the xlink:href attribute and sets the width and height of the element.class
This implementation of ImageHandler encodes the input image as a PNG image first, then encodes the PNG image using Base64 encoding and uses the result to encoder the image url using the data protocol.class
This implementation of the abstract AbstractImageHandlerEncoder class creates JPEG images in the image directory and sets the url pointing to that file in the xlink:href attributes of the image elements it handles.class
This implementation of the abstract AbstractImageHandlerEncoder class creates PNG images in the image directory and sets the url pointing to that file in the xlink:href attributes of the image elements it handles.Fields in org.apache.batik.svggen declared as ImageHandlerModifier and TypeFieldDescriptionprotected ImageHandler
SimpleImageHandler.imageHandler
ImageHandler
which handles xlink:href attribute settingMethods in org.apache.batik.svggen that return ImageHandlerModifier and TypeMethodDescriptionfinal ImageHandler
SVGGeneratorContext.getImageHandler()
Returns theImageHandler
that has been set.final ImageHandler
SVGGraphics2D.getImageHandler()
Methods in org.apache.batik.svggen with parameters of type ImageHandlerModifier and TypeMethodDescriptionstatic SVGGeneratorContext
SVGGraphics2D.buildSVGGeneratorContext
(Document domFactory, ImageHandler imageHandler, ExtensionHandler extensionHandler) Helper method to create anSVGGeneratorContext
from the constructor parameters.final void
SVGGeneratorContext.setImageHandler
(ImageHandler imageHandler) Sets theImageHandler
to be used.Constructors in org.apache.batik.svggen with parameters of type ImageHandlerModifierConstructorDescriptionSimpleImageHandler
(ImageHandler imageHandler) SVGGraphics2D
(Document domFactory, ImageHandler imageHandler, ExtensionHandler extensionHandler, boolean textAsShapes)