I’m trying to creating lighting effects for a basic 2d platform engine, and I need to know if there is a way to send the GradientPaint constructor a transparent color, resulting in a gradient transparency.
If not, how should I approach this problem?