Code: Select all
Line newLine = new Line()
{
Color = input.Color,
};
For example:
Code: Select all
Rectangle r = new Rectangle()
{
Background = new SolidColorBrush(Colors.Cyan)
}
Line newLine = new Line()
{
Color = Colors.Cyan,
};
I believe this is caused by some sort of extra values that can be set on the line but I do not know what those values are. I know in the Win32 version there were some values that needed to be set in the Pen Tool to get the colors to show correctly.
Furthermore I have discovered that FastLine shows color correctly and I attribute this to it simply lacking the functions that Line has which causes the darker color.
Any ideas on how to improve the color of Line would be greatly appreciated.
Regards,
Michael Hohlios