The Gradient tool allows you to draw a linear gradient between two points.
Operation is very simple. Just select a foreground and background color, then click and drag between two points to draw your gradient.