overlay.gradient(x, y, w, h, r1, g1, b1, a1, r2, g2, b2, a2, direction)
Draws a horizontal or vertical gradient on the screen.