class final Optionnel · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Layout\InlineFormatter
Horizontal inline flow, measured with exactly the font shaper used by serialization.

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

public function __construct(PDF\HtmlToPdf\ConversionOptions $options)

Déclarée par PDF\HtmlToPdf\Layout\InlineFormatter · Voir le code ↗

Méthodes déclarées

face()

Déclarée par PDF\HtmlToPdf\Layout\InlineFormatter · Voir le code ↗

format()

public function format(array $pieces, float $x, float $width, PDF\HtmlToPdf\Style\ComputedStyle $style, string $paragraph, ?PDF\HtmlToPdf\Layout\LineExclusions $exclusions = null, float $top = 0, bool $firstLine = true, ?float $indentBasis = null): array
@param list<InlinePiece> $pieces
@return list<FlowItem>

Déclarée par PDF\HtmlToPdf\Layout\InlineFormatter · Voir le code ↗