class final Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Layout\InlineFormatterHorizontal inline flow, measured with exactly the font shaper used by serialization.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\HtmlToPdf\ConversionOptions $options)Declared methods
face()
public function face(PDF\HtmlToPdf\Style\ComputedStyle $style): PDF\HtmlToPdf\Font\FontFaceformat()
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>