org.apache.batik.svggen
public interface GenericImageHandler
Method Summary | |
---|---|
Element | createElement(SVGGeneratorContext generatorContext)
Creates an Element suitable for referring to images.
|
AffineTransform | handleImage(Image image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
The handler should set the xlink:href and return a transform
|
AffineTransform | handleImage(RenderedImage image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and return a transform
|
AffineTransform | handleImage(RenderableImage image, Element imageElement, double x, double y, double width, double height, SVGGeneratorContext generatorContext)
The handler should set the xlink:href tag and return a transform
|
void | setDOMTreeManager(DOMTreeManager domTreeManager)
Sets the DomTreeManager this image handler may need to
interact with. |
Parameters: image the image under consideration imageElement the DOM Element for this image x x coordinate y y coordinate width width for rendering height height for rendering generatorContext the SVGGeneratorContext
Returns: transform converting the image dimension to rendered dimension
Parameters: image the image under consideration imageElement the DOM Element for this image x x coordinate y y coordinate width width for rendering height height for rendering generatorContext the SVGGeneratorContext
Returns: transform converting the image dimension to rendered dimension
Parameters: image the image under consideration imageElement the DOM Element for this image x x coordinate y y coordinate width width for rendering height height for rendering generatorContext the SVGGeneratorContext
Returns: transform converting the image dimension to rendered dimension