class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Style\FontFamilyName
Quoted family names remain distinct from the five generic CSS1 keywords.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(string $name, bool $generic = false)

Declared by PDF\HtmlToPdf\Style\FontFamilyName · View the code ↗

Declared methods

css()

public function css(): string

Declared by PDF\HtmlToPdf\Style\FontFamilyName · View the code ↗

key()

public function key(): string

Declared by PDF\HtmlToPdf\Style\FontFamilyName · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly bool $genericPDF\HtmlToPdf\Style\FontFamilyName
public readonly string $namePDF\HtmlToPdf\Style\FontFamilyName