fr.umlv.lawrence.svg
Class SVGImageProvider<E>
java.lang.Object
fr.umlv.lawrence.ImageProvider<E>
fr.umlv.lawrence.AbstractImageProvider<E,org.apache.batik.dom.svg.SVGOMDocument>
fr.umlv.lawrence.svg.SVGImageProvider<E>
public class SVGImageProvider<E>
- extends AbstractImageProvider<E,org.apache.batik.dom.svg.SVGOMDocument>
|
Method Summary |
protected org.apache.batik.dom.svg.SVGOMDocument |
parse(URL source)
|
protected Image |
render(org.apache.batik.dom.svg.SVGOMDocument original,
int tileWidth,
int tileHeight)
|
void |
setDPI(double dpi)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGImageProvider
public SVGImageProvider()
parse
protected org.apache.batik.dom.svg.SVGOMDocument parse(URL source)
throws IOException
- Specified by:
parse in class AbstractImageProvider<E,org.apache.batik.dom.svg.SVGOMDocument>
- Throws:
IOException
render
protected Image render(org.apache.batik.dom.svg.SVGOMDocument original,
int tileWidth,
int tileHeight)
- Specified by:
render in class AbstractImageProvider<E,org.apache.batik.dom.svg.SVGOMDocument>
setDPI
public void setDPI(double dpi)