Image_Graph_Fill_Gradient::setColor()

Image_Graph_Fill_Gradient::setColor() -- Set color

Synopsis

require_once '/Graph/Fill/Gradient.php';

void Image_Graph_Fill_Gradient::setColor (array $color)

Description

Note that also more than 2 colors can be provided which will result in a gradient-fill from one color to the next [...] to the last one (multiple gradients).

Parameter

array $color

array of colors

Throws

throws no exceptions thrown

See

see Image_Graph_Color::color2RGB()

Note

This function can not be called statically.