Image_Graph_Fill_Common::setColor() -- Set color
Description
Please note that derived classes which might need more than one color (e.g. for a gradient fill) might overwrite this function and demand that $color is not one color but an array of colors.
Parameter
- mixed
$color
any color representation supported by Image_Graph_Color::color2RGB()
Throws
throws no exceptions thrown
Note
This function can not be called
statically.