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

setStrokeColor() 공개 메소드

Set the stroke color
public setStrokeColor ( Pop\Color\Space\ColorInterface $color ) : Graph
$color Pop\Color\Space\ColorInterface
리턴 Graph
    public function setStrokeColor(ColorInterface $color)
    {
        $this->strokeColor = $color;
        return $this;
    }

Usage Example

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