getFillColor() public method

Get the fill color
public getFillColor ( ) : string
return string
Example #1
0
 public function testTextColorUsingHex()
 {
     $pdf = new Horde_Pdf_Writer();
     $pdf->setInfo('timestamp', $this->fixtureCreationDate());
     $pdf->setCompression(false);
     $pdf->open();
     $pdf->addPage();
     $pdf->setFont('Helvetica', 'B', 48);
     $pdf->setDrawColor('hex', '#F00');
     $pdf->setTextColor('hex', '#0F0');
     $pdf->setFillColor('hex', '#00F');
     $this->assertEquals('1.000 0.000 0.000 RG', $pdf->getDrawColor());
     $this->assertEquals('0.000 1.000 0.000 rg', $pdf->getTextColor());
     $this->assertEquals('0.000 0.000 1.000 rg', $pdf->getFillColor());
 }