AS3SVGRenderer icon indicating copy to clipboard operation
AS3SVGRenderer copied to clipboard

property "stroke-dasharray" doesn't work exactly.

Open windows0710 opened this issue 10 years ago • 4 comments

Hello? It's my second issue. The problem is that SVGRenderer doesn't render exactly like below:

" <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" x="0px" y="0px" width="195px" height="3px" viewBox="314 561 165 3" >

"

I tested it on browser (ex:FireFox 30.0) and It shows dashed-line exactly. This problem is very important for me. Please fix it as quickly as possible... Thank you.

windows0710 avatar Jun 22 '14 07:06 windows0710

Hi, I can't see the svg code, can you post it again?

lucaslorentz avatar Jun 22 '14 12:06 lucaslorentz

Thank for your answer. I couldn’t upload *.svg file on Github, so I added [dasharray.svg] file in this mail. I hope your success mail. Thank you. From: LucasLorentz Sent: Sunday, June 22, 2014 8:52 PM To: LucasLorentz/AS3SVGRenderer Cc: windows0710 Subject: Re: [AS3SVGRenderer] property "stroke-dasharray" doesn't work exactly. (#43)

Hi, I can't see the svg code, can you post it again?

windows0710 avatar Jun 25 '14 00:06 windows0710

Hello? I have an idea to solve this issue. I don't know how you rendered dashed-line on sprite in code-version, but I know that you probably use [sprite.graphics.lineTo] method but It seems differently every time when I am trying to resize the rendered SVG component. I think it maybe solved If you draw CIRCLE sequentially and It maybe looks like DASHED-LINE and don't be changed when I resize the SVG component. Maybe you have more better idea, how is it? I hope your kind answer.

windows0710 avatar Jun 25 '14 08:06 windows0710

Hello? I send the “dasharray.svg” file with attachment. Thank you.

windows0710 avatar Jun 27 '14 12:06 windows0710