setFillColor() public method

Set the fill color
public setFillColor ( Pop\Color\Space\ColorInterface $color ) : Graph
$color Pop\Color\Space\ColorInterface
return Graph
Esempio n. 1
0
 public function testSetFillColor()
 {
     $g = new Graph($this->imageOptions);
     $g->setFillColor(new Rgb(128, 128, 128));
     $this->assertEquals(new Rgb(128, 128, 128), $g->getFillColor());
 }