How to draw a rectangle with gradient?

Daniel Mark danielmarkhot at gmail.com
Sat Sep 16 11:21:46 EDT 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
-Daniel




More information about the Python-list mailing list