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

Black has Alpha Channel 0 #22

Closed
hollandar opened this issue May 31, 2017 · 1 comment
Closed

Black has Alpha Channel 0 #22

hollandar opened this issue May 31, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@hollandar
Copy link

The default definition for Black in NET CORE is new Color(0) which has an alpha channel of 0. This causes the SVG Renderer to render a transparent svg.

I am overriding your defaults such that Foreground = new Color() { A = 255, R = 0, B = 0, G = 0 }
Works perfectly then.

Thanks.

@micjahn micjahn self-assigned this Jun 2, 2017
@micjahn micjahn added this to the 0.16 milestone Jun 2, 2017
@micjahn micjahn added the bug label Jun 2, 2017
@micjahn
Copy link
Owner

micjahn commented Jun 2, 2017

Thanks for reporting. Now I know why I never saw an image as I tried the ASP.Net Core demo with SVG output.

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

No branches or pull requests

2 participants