Another approach is to use a % value in the stroke-width attribute of the SVG. For example, if you specify stroke-width="0.01%" then the line width will always be the viewBox width * 0.0001 and will resize when ever the view box changes. Bruce Rindahl
>yes, you could listen to eventlisteners: e.g. SVGZoom and/or SVGResize and >adopt the stroke-width using the DOM and scripting or Java. It would help >if you centrally specify the stroke-width (e.g. in a parent group) in your >original SVG and not for each element. That way you only have to change >the stroke-width once. >Andreas >> Hello! >> >> I have loaded a Worldmap (in SVG Format) into a JSVGCanvas. >> The map has transparent background and black contour of the Continents. >> >> Is it possible to decrease the thickness of the contour with Batik? >> Because >> i need it to make the contour-thickness thin when i zoom in >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
