Last post Jun 26, 2013 01:56 PM by fredman
Jun 26, 2013 01:07 PM|fredman|LINK
I want to draw a diagonal gradient fill overlaying part of an mage, from a specified colour fading to nothing.... this example code
has got me most of the way, but the gradient goes from one colour (SpringGreen) to another (Crimson) - I only want one colour, the Crimson, say, and have ti just fade away...
I was hoping that using Color.Transparent (instead of Color.SpringGreen) might help, but I can;'t it to work using that...
Any help gratefully received!
Jun 26, 2013 01:56 PM|fredman|LINK
OK, sorted it - use the same color for both, set teh A in ARGB to 0 for teh first, and mess around with the rectangle corners. :)