B2021-081Watermark was printing too dark for Blue. After initial review it was found to be too intense for every color but red. If the alpha (transparency/opacity) was set to the original value of 96 for Red then the watermark was pink

This commit is contained in:
Rich 2021-08-17 16:43:29 +00:00
parent 746a247504
commit 3ad78211f7

View File

@ -1231,6 +1231,10 @@ namespace Volian.Svg.Library
_Text = text; _Text = text;
//float radius = .5F; //float radius = .5F;
//float space = 3; //float space = 3;
// B2021-081: Blue was too intense with an alpha of 255 Read was too light with an alpha of 96
if (color != System.Drawing.Color.Red)
_Color = System.Drawing.Color.FromArgb(96, color);
else
_Color = color; // C2021-019: save color for color override _Color = color; // C2021-019: save color for color override
_Opacity = opacity; _Opacity = opacity;
//SetDotPattern(radius, space); //SetDotPattern(radius, space);