When I create a Linear Gradient Brush in GDI+, based on points or a rect and fill a rectangle bigger than that one used to create the gradient brush, the gradient pattern repeats itself over the rectangle area instead of filling it with just one 'transition'.
Here is screenshot of what's happening..
And here is how it should be (I achieved this effect resizing a bitmap, but i want to use a gradient brush, since this way produces some 'artifacts' on right and bottom edges)
How can I change this annoying behavior?
View Complete Post