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

PDF\HtmlToPdf\Style\TextSpacing
Computed text spacing in points; null preserves the CSS normal keyword.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(?float $letterSpacing = null, ?float $wordSpacing = null)

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

Declared methods

cacheKey()

public function cacheKey(): string

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

Properties

DeclarationOrigin and documentation
public readonly ?float $letterSpacingPDF\HtmlToPdf\Style\TextSpacing
public readonly ?float $wordSpacingPDF\HtmlToPdf\Style\TextSpacing