I’m trying to draw a rounded corner rectangle with gradient background.
It seems that NETMF ignores the gradient color if I set the radius to a value grater than 0.
Example:
// this works correctly
bmp.DrawRectangle(Colors.Orange, 4, 0, 0,
this.Width,
this.Height,
0,
0,
Colors.Red,
this.Width/2,
this.Width/2,
Colors.Orange,
this.Width,
this.Height,
0xFF);
//this draws a black rectangle without gradient background
bmp.DrawRectangle(Colors.Orange, 4, 0, 0,
this.Width,
this.Height,
4,
4,
Colors.Red,
this.Width/2,
this.Width/2,
Colors.Orange,
this.Width,
this.Height,
0xFF);
Is this a known bug?