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,7 +1231,11 @@ namespace Volian.Svg.Library
_Text = text;
//float radius = .5F;
//float space = 3;
_Color = color; // C2021-019: save color for color override
// 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
_Opacity = opacity;
//SetDotPattern(radius, space);
//SetTextLayout();