PhpOffice\PhpPresentation\Shape\RichText\TextElement::getFont PHP Method

getFont() public method

Get font
public getFont ( ) : Font
return PhpOffice\PhpPresentation\Style\Font
    public function getFont()
    {
        return null;
    }

Usage Example

 public function testFont()
 {
     $object = new TextElement();
     $this->assertNull($object->getFont());
 }