The GradientFilter paints a gradient across the source image, obliterating it in the process. You specify a start point, an end point, the start color and the end color, together with a flag specifying whether to repeat the gradient. You can also specify the type of gradient: linear, bilinear, radial, conical or symmetric conical. Here are some examples:

gradient gradient gradient gradient