PhpOffice\PhpPresentation\Style\Font::__construct PHP Метод

__construct() публичный Метод

Create a new \PhpOffice\PhpPresentation\Style\Font
public __construct ( )
    public function __construct()
    {
        // Initialise values
        $this->name = 'Calibri';
        $this->size = 10;
        $this->bold = false;
        $this->italic = false;
        $this->superScript = false;
        $this->subScript = false;
        $this->underline = self::UNDERLINE_NONE;
        $this->strikethrough = false;
        $this->color = new Color(Color::COLOR_BLACK);
    }