public void setSVG ( SVG svg , String css ) { if ( svg == null ) throw new IllegalArgumentException ( "Null value passed to setSVG()" ) ; this . svg = svg ; this . renderOptions . css ( css ) ; doRender ( ) ; }
Directly set the SVG and the CSS .