/** * Add a color. Ultimately it should call addColor() from the Image_Graph object * @see Image_Graph * @param Color $color A representation of the color */ function &addColor(& $color) { $this->_debug("Adding color ".$color->_index); if ($this->_parent) { return $this->_parent->addColor($color); } }