class final Optionnel · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Css\ValuesNarrow, explicit supported CSS value grammars.Héritage et contrats
Ce type ne déclare pas de parent, d’interface ou de trait.
Méthodes déclarées
color()
public function color(string $value, PDF\HtmlToPdf\Style\Color $current): ?PDF\HtmlToPdf\Style\Colorkeyword()
public function keyword(string $value, array $allowed): string@param list<string> $allowedlength()
public function length(string $value, float $fontSize, float $rootSize, bool $percentage = false, bool $negative = false): PDF\HtmlToPdf\Style\Length|floatpoints()
public function points(string $value, float $fontSize, float $rootSize, bool $negative = false): floatpositiveInteger()
public function positiveInteger(string $value): int