Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent colors #47

Closed
paulushub opened this issue Nov 29, 2017 · 3 comments
Closed

Transparent colors #47

paulushub opened this issue Nov 29, 2017 · 3 comments

Comments

@paulushub
Copy link
Contributor

paulushub commented Nov 29, 2017

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?

Attachments

Map_of_USA_MD.svg

This work item was migrated from CodePlex

CodePlex work item ID: '1863'
Assigned to: 'SelormeyPaul'
Vote count: '1'

@paulushub
Copy link
Contributor Author

[MikNik@2015/01/28]
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.

@paulushub
Copy link
Contributor Author

[bpelka@2016/03/20]
in SharpVectors.Dom.Svg.SvgPaint class in ParsePaint method change

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

@paulushub
Copy link
Contributor Author

Issue fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant