Pop\Graph\Graph::setReverseFontColor PHP 메소드

setReverseFontColor() 공개 메소드

Set the reverse font color
public setReverseFontColor ( Pop\Color\Space\ColorInterface $color ) : Graph
$color Pop\Color\Space\ColorInterface
리턴 Graph
    public function setReverseFontColor(ColorInterface $color)
    {
        $this->reverseFontColor = $color;
        return $this;
    }

Usage Example

예제 #1
0
 public function testSetReverseFontColor()
 {
     $g = new Graph($this->imageOptions);
     $g->setReverseFontColor(new Rgb(128, 128, 128));
     $this->assertEquals(new Rgb(128, 128, 128), $g->getReverseFontColor());
 }