public final class SvgUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
convertFromSvg(java.net.URI svgFile,
int width,
int height)
Renders an SVG image into a
BufferedImage. |
public static java.awt.image.BufferedImage convertFromSvg(java.net.URI svgFile,
int width,
int height)
throws org.apache.batik.transcoder.TranscoderException
BufferedImage.svgFile - the svg filewidth - the widthheight - the heightorg.apache.batik.transcoder.TranscoderException