1
Vote

Transparent colors

description

It looks like FileSvgReader does not process transparent colors. Setting "style='fill:transparent'" makes it white, and #AARRGGBB format is not supported.
Is there anything I'm missing?

file attachments

comments

MikNik wrote Jan 29, 2015 at 7:56 AM

Here is a sample file (map of USA), where the first element (names "water_1_") was changed to be transparent. As a result, I expect the background color to be seen where there is no land.

bpelka wrote Mar 20, 2016 at 8:21 PM

in SharpVectors.Dom.Svg.SvgPaint class in ParsePaint method change

else if (str.Equals("none"))
to
else if (str.Equals("none") || str.Equals("transparent"))