Image_Graph_Base::setColor()

Image_Graph_Base::setColor() -- Set color

Synopsis

require_once '/Graph/Elements.php';

void Image_Graph_Base::setColor (mixed $color)

Description

For some objects if the color-value is "null" instead of an array default values will be taken. Note that the feature of using "null" might possibly not be available for some objects.

Parameter

mixed $color

any color representation supported by Image_Graph_Color::color2RGB()

Throws

throws no exceptions thrown

See

see Image_Graph_Color::color2RGB()

Note

This function can not be called statically.