class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable378\PaddingEntryISO 32000-2:2020 EC3, table 378, /Padding.Héritage et contrats
Parent : PDF\Specification\SchemaEntry
Définition ISO 32000-2:2020 EC3
Tableau 378 · Standard layout attributes common to all standard structure types
§14.8.5.4.2 · page PDF 794
Original PDF au commit documenté ↗ · Métadonnées de la source au commit documenté ↗ · Errata publics ↗
Original conservé dans le dépôt du core. Inventaire des tableaux et contrôles sémantiques restent distincts.
Définitions communes : Table 360
Extrait normatif original en anglais.
/Padding number or array
(Optional; not inheritable; PDF 1.5) Specifies an offset to account for the separation between the element’s content rectangle and the surrounding border (see 14.8.5.4.5, "Content and Allocation Rectangles"). A positive value enlarges the background area; a negative value trims it, possibly allowing the border to overlap the element’s text or graphic. There are two forms: • A number representing the width of the padding for all four edges. • An array of four entries, each entry specifying the width of the padding for one edge, in the order of the before, after, start and end edges. Default value: 0.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NumericType|PDF\Syntax\Object\ArrayType|PDF\Syntax\Object\IndirectReference $value)Méthodes héritées
3 méthodes des parents et contrats
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypePropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |