Sriram,

See the setSVGCanvasSize(java.awt.Dimension svgCanvasSize) method
on SVGGraphics2D.

Thanks,
Vincent.

> Sriram Nookala wrote:
> 
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to