private static URL getResource( String svgName ) {
		return FlatSVGUtils.class.getResource( svgName );
	}
Creates a buffered image and renders the given SVGDocument into it.

@param document the SVG document
@param width the width of the image
@param height the height of the image
@return the image
@throws RuntimeException if failed to render SVG file
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGUtils.java