public function setFromRGBColor(RGBColor $color)
    {
        return $this->setRed($color->getRed())
                        ->setGreen($color->getGreen())
                        ->setBlue($color->getBlue())
                        ->setAlpha($color->getAlpha());
    }
public function setFromRGBColor(RGBColor $color)
    {
        return $this->setRed($color->getRed())
                        ->setGreen($color->getGreen())
                        ->setBlue($color->getBlue())
                        ->setAlpha($color->getAlpha());
    }
public function setFromRGBColor ( RGBColor $ color ) { return $ this -> setRed ( $ color -> getRed ( ) ) -> setGreen ( $ color -> getGreen ( ) ) -> setBlue ( $ color -> getBlue ( ) ) -> setAlpha ( $ color -> getAlpha ( ) ) ; }
Set color from another color object

@param \Jaguar\Color\RGBColor $color

@return \Jaguar\Color\RGBColor
Set color from another color object