This project has moved and is read-only. For the latest updates, please go here.

Transparent colors


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


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"))
else if (str.Equals("none") || str.Equals("transparent"))

wrote Dec 21, 2017 at 6:29 AM