The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

VS::Chart::Color::Gradient - A gradient color.

DESCRIPTION

This color renders as a gradient from one color to the other. First color is positioned at the top of the image and the second on the bottom.

INTERFACE

CLASS METHODS

new ( COLOR, COLOR )

Creates a new gradient from COLOR to COLOR.

INSTANCE METHODS

set ( CONTEXT, SURFACE, WIDTH, HEIGHT )

Sets the the context to use this color.