public interface SVGLoader
ServiceProvider
annotation).Modifier and Type | Method and Description |
---|---|
Icon |
loadIcon(URL url)
Load an SVG image as an
Icon . |
Icon loadIcon(URL url) throws IOException
Icon
. The SVG document's root element must contain explicit
width/height attributes.url
- may not be nullIOException
- in case of loading or parsing errors