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

PDF\HtmlToPdf\Style\ComputedStyle

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(string $display = 'inline', float $fontSize = 12, float $lineHeight = 16, int $fontWeight = 400, bool $italic = false, PDF\HtmlToPdf\Style\Color $color = new Color(), ?PDF\HtmlToPdf\Style\Color $background = null, string $textAlign = 'left', string $whiteSpace = 'normal', bool $underline = false, PDF\HtmlToPdf\Style\Edges $margin = new Edges(), PDF\HtmlToPdf\Style\Edges $padding = new Edges(), float $borderWidth = 0, PDF\HtmlToPdf\Style\Color $borderColor = new Color(), ?PDF\HtmlToPdf\Style\Length $width = null, ?PDF\HtmlToPdf\Style\Length $height = null, string $breakBefore = 'auto', string $breakAfter = 'auto', bool $breakInsideAvoid = false, int $orphans = 2, int $widows = 2, string $listStyleType = 'disc', string $verticalAlign = 'top', string $tableLayout = 'auto', ?PDF\HtmlToPdf\Style\Borders $borders = null, string $float = 'none', string $clear = 'none', PDF\HtmlToPdf\Style\FontFamilyList $fontFamily = new FontFamilyList(), PDF\HtmlToPdf\Style\TextSpacing $textSpacing = new TextSpacing(), PDF\HtmlToPdf\Style\TextIndent $textIndent = new TextIndent())

Déclarée par PDF\HtmlToPdf\Style\ComputedStyle · Voir le code ↗

Méthodes déclarées

borderEdges()

public function borderEdges(): PDF\HtmlToPdf\Style\Borders
Independent sides take precedence; the uniform 0.1 constructor remains usable.

Déclarée par PDF\HtmlToPdf\Style\ComputedStyle · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly ?PDF\HtmlToPdf\Style\Color $backgroundPDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\Color $borderColorPDF\HtmlToPdf\Style\ComputedStyle
public readonly float $borderWidthPDF\HtmlToPdf\Style\ComputedStyle
public readonly ?PDF\HtmlToPdf\Style\Borders $bordersPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $breakAfterPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $breakBeforePDF\HtmlToPdf\Style\ComputedStyle
public readonly bool $breakInsideAvoidPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $clearPDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\Color $colorPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $displayPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $floatPDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\FontFamilyList $fontFamilyPDF\HtmlToPdf\Style\ComputedStyle
public readonly float $fontSizePDF\HtmlToPdf\Style\ComputedStyle
public readonly int $fontWeightPDF\HtmlToPdf\Style\ComputedStyle
public readonly ?PDF\HtmlToPdf\Style\Length $heightPDF\HtmlToPdf\Style\ComputedStyle
public readonly bool $italicPDF\HtmlToPdf\Style\ComputedStyle
public readonly float $lineHeightPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $listStyleTypePDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\Edges $marginPDF\HtmlToPdf\Style\ComputedStyle
public readonly int $orphansPDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\Edges $paddingPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $tableLayoutPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $textAlignPDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\TextIndent $textIndentPDF\HtmlToPdf\Style\ComputedStyle
public readonly PDF\HtmlToPdf\Style\TextSpacing $textSpacingPDF\HtmlToPdf\Style\ComputedStyle
public readonly bool $underlinePDF\HtmlToPdf\Style\ComputedStyle
public readonly string $verticalAlignPDF\HtmlToPdf\Style\ComputedStyle
public readonly string $whiteSpacePDF\HtmlToPdf\Style\ComputedStyle
public readonly int $widowsPDF\HtmlToPdf\Style\ComputedStyle
public readonly ?PDF\HtmlToPdf\Style\Length $widthPDF\HtmlToPdf\Style\ComputedStyle