PhpOffice\PhpPresentation\Shape\Chart\Axis::getFont PHP Méthode

getFont() public méthode

Get font
public getFont ( ) : Font
Résultat PhpOffice\PhpPresentation\Style\Font
    public function getFont()
    {
        return $this->font;
    }

Usage Example

Exemple #1
0
 public function testFont()
 {
     $object = new Axis();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Axis', $object->setFont());
     $this->assertNull($object->getFont());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Axis', $object->setFont(new Font()));
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Font', $object->getFont());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Chart\Axis::getFont