setFill() 공개 메소드

Set Fill
public setFill ( PhpOffice\PhpPresentation\Style\Fill $fill = null ) : Series
$fill PhpOffice\PhpPresentation\Style\Fill
리턴 Series
예제 #1
0
 public function testFill()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setFill());
     $this->assertNull($object->getFill());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setFill(new Fill()));
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Fill', $object->getFill());
 }