The only way that I can think of would be to create an identical object that would be centered at the same locus, but a wee bit bigger (like scaled by 1+strokewidth/object'sDiameter) and have this object filled with none. That object could then be used to mask the original object keeping the original's stroke inside the intended perimeter. One could write a script to do that, but if the regions contained concavities, then this wouldn't work so well.
It strikes me that the use case for what you're talking about would include when someone wants to draw a map of adjacent regions, and wants the stroke to have differing colors, but does not want the strokes to bleed out or overlap one another. That is, it seems like the situation you're describing might occur fairly often, but I can't see an easy way to do it currently. The <superPath> may be just the idea, since it is intended to allow the concept of adjacency of regions to be formalized at the level of SVG, but it's only an idea at present. Maybe someone else has another idea? cheers David ----- Original Message ----- From: jgfa92004 To: svg-developers@yahoogroups.com Sent: Wednesday, December 10, 2008 1:27 PM Subject: [svg-developers] Stroke width inside the shape Hi, Is there a way to set the stroke width of a polyline inside the shape instead of half inside and half outside ? Thanks. Julie [Non-text portions of this message have been removed] ------------------------------------ ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/