class final readonly Optionnel · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Font\FontRunOne shaped source run, with the exact positions later consumed by the PDF painter.Héritage et contrats
Ce type ne déclare pas de parent, d’interface ou de trait.
Construction
__construct()
public function __construct(PDF\HtmlToPdf\Font\FontFace $font, PDF\Fonts\OpenType\ShapedText $text, float $size, float $width, PDF\HtmlToPdf\Font\FontMetrics $metrics, PDF\HtmlToPdf\Style\TextSpacing $spacing = new TextSpacing())Propriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\HtmlToPdf\Font\FontFace $font | PDF\HtmlToPdf\Font\FontRun |
public readonly PDF\HtmlToPdf\Font\FontMetrics $metrics | PDF\HtmlToPdf\Font\FontRun |
public readonly float $size | PDF\HtmlToPdf\Font\FontRun |
public readonly PDF\HtmlToPdf\Style\TextSpacing $spacing | PDF\HtmlToPdf\Font\FontRun |
public readonly PDF\Fonts\OpenType\ShapedText $text | PDF\HtmlToPdf\Font\FontRun |
public readonly float $width | PDF\HtmlToPdf\Font\FontRun |