On 7/6/06, sent1729 <[EMAIL PROTECTED]> wrote: > > Yes, > > But the stoke does not add any border to the polyline. It just > strokes the polyline with a specified color and a stroke width. > > Say for a polyline of Stroke "white" with stroke width "10", I would > like to draw a "black" border of stroke width 2, around the white > polyline. > > Nathan. >
No It's not that way. Stroke-width is the thickness of the line. And When you use "polyline". Line does not have "border" then you cannot make the border of a "line". There may be easier way to accomplish your task, 1- Change the you polyline into a Path from point(0) to point (x). 2- Add a reverse (M) from point(x) to point(0). Make sure at this reverse phase you shift the coordination to the value of your with. Hope this help Phi. - House of ZipProtocol and SVG rendering Package. HTTP://oneplusplus.com > --- In [email protected] <svg-developers%40yahoogroups.com>, > "Andreas Neumann" > <[EMAIL PROTECTED]> wrote: > > > > yes, you can use "stroke" and "stroke-width" on any graphics > element, incl. the <polyline /> > > element. > > > > Andreas > > > > --- In [email protected] <svg-developers%40yahoogroups.com>, > "sent1729" <sent1729@> > wrote: > > > > > > Hi all, > > > > > > Is it possible to draw a polyline with a border in svg. For > example, > > > we can draw a rectangle with a border by assigning a stroke and > a > > > stroke width. Can we do similar thing to a polyline to draw a > border? > > > > > > Nathan. > > > > > > > > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/ <*> 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/

