Exemplo n.º 1
0
 /**
  * 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);
     }
 }