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