How to draw a rectangle with gradient?

Daniel Mark danielmarkhot at
Sat Sep 16 17:21:46 CEST 2006

Hello all:

I am using PIL to draw a rectangle filled with color blue.

Is there anyway I could set the fill pattern so that the drawn
rectangle could be filled with
gradient blue?

Thank you

More information about the Python-list mailing list