public class DumbSVGRenderer extends Object implements SVGRenderer
Constructor and Description |
---|
DumbSVGRenderer() |
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 void drawInsideRectangle(Graphics2D g, Rectangle2D rect, boolean keepAspectRatio)
drawInsideRectangle
in interface SVGRenderer
public Rectangle2D getBounds()
getBounds
in interface SVGRenderer
public URL getSource()
getSource
in interface SVGRenderer
public void setSource(URL url) throws IOException
setSource
in interface SVGRenderer
IOException
public void setSource(File f) throws IOException
setSource
in interface SVGRenderer
IOException