How to draw a rectangle with gradient?



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

.