public class DefaultSVGRenderer extends java.lang.Object implements SVGRenderer
Constructor and Description |
---|
DefaultSVGRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
drawInsideRectangle(java.awt.Graphics2D g,
java.awt.geom.Rectangle2D rect,
boolean keepAspectRatio) |
java.awt.geom.Rectangle2D |
getBounds() |
java.net.URL |
getSource() |
void |
setSource(java.io.File f) |
void |
setSource(java.net.URL url) |
public java.awt.geom.Rectangle2D getBounds()
getBounds
in interface SVGRenderer
public void drawInsideRectangle(java.awt.Graphics2D g, java.awt.geom.Rectangle2D rect, boolean keepAspectRatio)
drawInsideRectangle
in interface SVGRenderer
public void setSource(java.net.URL url) throws java.io.IOException
setSource
in interface SVGRenderer
java.io.IOException
public java.net.URL getSource()
getSource
in interface SVGRenderer
public void setSource(java.io.File f) throws java.io.IOException
setSource
in interface SVGRenderer
java.io.IOException