I'm trying to set the width and height for the SVG generated by the SVGGraphics2D since otherwise the default image is 400x400 and the image gets clipped off. How do I do this programmatically? I tried using the getRoot method of the SVGGraphics2D and manipulating the DOM to add the "height" and "width" attributes, but that messed up the created SVG DOM.
thanks,
sriram

Reply via email to