public function setFromArray(array $color)
    {
        return $this->setRed($color[0])
                        ->setGreen($color[1])
                        ->setBlue($color[2])
                        ->setAlpha($color[3]);
    }
public function setFromArray(array $color)
    {
        return $this->setRed($color[0])
                        ->setGreen($color[1])
                        ->setBlue($color[2])
                        ->setAlpha($color[3]);
    }
public function setFromArray ( array $ color ) { return $ this -> setRed ( $ color [ 0 ] ) -> setGreen ( $ color [ 1 ] ) -> setBlue ( $ color [ 2 ] ) -> setAlpha ( $ color [ 3 ] ) ; }
Set color from array

@param array $color array with (red,green,blue,alpha) values

@return \Jaguar\Color\RGBColor
Set color from array