RE: SVG Shape With No Background

2018-07-20 Thread Timothy Penner via 4D_Tech
> Who might I ask about adding that to the documentation as I think it would be > helpful for others in the future? If you think the documentation should be update you can always submit a comment to the doc team, or post a public note on the doc page: Tech Tip: The Comments feature for the

Re: SVG Shape With No Background

2018-07-20 Thread Cannon Smith via 4D_Tech
> some time ago, we received a similar question from a customer, > evidently it is intentional that opacity=0 is ignored (it is explicitly coded > that way). > the explanation from the developer was that opacity=0 makes no sense and > "none" should be used instead. I agree, it does make sense.

Re: SVG Shape With No Background

2018-07-20 Thread Keisuke Miyako via 4D_Tech
F.Y.I. the source code of SVG component is available for partners. some time ago, we received a similar question from a customer, evidently it is intentional that opacity=0 is ignored (it is explicitly coded that way). the explanation from the developer was that opacity=0 makes no sense and

Re: SVG Shape With No Background

2018-07-20 Thread Cannon Smith via 4D_Tech
I guess I just needed to hit the Send button to figure it out. It turns out that I can pass “none” as a color. I don’t see it in the documentation anywhere, but the SVG component must just pass it through to the SVG layer. So: $tRef:=SVG_New_circle ($tSVG;200;200;100;"red”;"none";10)

SVG Shape With No Background

2018-07-20 Thread Cannon Smith via 4D_Tech
Hi All, What is the best way to draw a shape (circle, rectangle, etc.) without a background using the SVG component? I tried using a “transparent” color: $tRef:=SVG_New_circle ($tSVG;200;200;100;"red";"white:0";10) //“white:0” = transparent But it seems that if you pass a color like