GFILL, unlike javascript, does not support gradients, just solid colors You could either build your own by drawing a bunch of lines each tinted slightly from the last, but that approach has a terrible performance So I would just recommend using a sprite instead of graphics