PhpOffice\PhpPresentation\Shape\Chart\Axis::getFont PHP 메소드

getFont() 공개 메소드

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

Usage Example

예제 #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