Thanks for the suggestion. In my application (GIS and Mapping), I wanted to show the streets which are polylines, with borders. If I reverse the coordinates for all the polylines, then it will increase the file size. The suggestion that you gave seem to work, but I am looking for drawing borders to my polylines without increasing my file size.
Thanks again for your input. Nathan. --- In svg-developers@yahoogroups.com, "Phi Tran" <[EMAIL PROTECTED]> wrote: > > 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 svg-developers@yahoogroups.com <svg-developers% 40yahoogroups.com>, > > "Andreas Neumann" > > <neumann@> wrote: > > > > > > yes, you can use "stroke" and "stroke-width" on any graphics > > element, incl. the <polyline /> > > > element. > > > > > > Andreas > > > > > > --- In svg-developers@yahoogroups.com <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 --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/