1 18 package org.apache.batik.svggen; 19 20 import java.awt.Image ; 21 import java.awt.geom.AffineTransform ; 22 import java.awt.image.RenderedImage ; 23 import java.awt.image.renderable.RenderableImage ; 24 25 import org.w3c.dom.Element ; 26 27 34 public interface GenericImageHandler { 35 39 public void setDOMTreeManager(DOMTreeManager domTreeManager); 40 41 45 public Element createElement(SVGGeneratorContext generatorContext); 46 47 60 public AffineTransform handleImage(Image image, Element imageElement, 61 int x, int y, 62 int width, int height, 63 SVGGeneratorContext generatorContext); 64 65 78 public AffineTransform handleImage(RenderedImage image, Element imageElement, 79 int x, int y, 80 int width, int height, 81 SVGGeneratorContext generatorContext); 82 83 96 public AffineTransform handleImage(RenderableImage image, Element imageElement, 97 double x, double y, 98 double width, double height, 99 SVGGeneratorContext generatorContext); 100 101 } 102 | Popular Tags |