Cristian Opincaru wrote:
When I generate an SVG with the Batic Toolkit, I get a lot of stuff in the header (the <svg ...> tag). One of the things is a "fill:black" which I really don't need.
Can anybody tell me how I can change this?
You can get the root Element and simply remove the attributes you don't want[*]. You do need to be careful about depending on the default values for attributes as it is common to cut & paste (or programatically assemble) and if the section you add into has any of these set you would need to set them back to the default value.
[*] Note that when you get the root element it is cleared from the Graphics2D so you need to use one of the stream calls that takes the svgRoot element.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]