Interface SVGLoader
public interface SVGLoader
SVG image loader. This is an optional service provider. If implemented, a single instance should
be placed in the default lookup (e.g. via the
ServiceProvider annotation).- Since:
- 9.15
-
Method Summary
-
Method Details
-
loadIcon
Load an SVG image as anIcon. The SVG document's root element must contain explicit width/height attributes.- Parameters:
url- may not be null- Returns:
- may not be null
- Throws:
IOException- in case of loading or parsing errors
-