Paints a horizontal gradient on the picture.
The position within the picture to paint the gradient.
The size of the gradient.
The paint to gradient from.
The paint to gradient to.
The alpha channel of the gradient.
See Implementation
Paints a horizontal gradient on the picture.