I am trying to render an Image object in memory with the dimensions 1×16. This image is used as a tiled background. The gradient itself should have 3 colors in a non-linear fashion.
Pixel 1 to 6: Gradient Color 1 to Color 2
Pixel 7 to 16: Gradient Color 3 to Color 4
I just found out myself how to do it. I was expecting an answer like this:
The Bitmap bmp has now the 2 gradient.