class final Core · roukmoute/pdf 0.6.1

PDF\Specification\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable343\PaddingEntry
Table 343, /Padding; PDF type: number or array; Optional; not inheritable; PDF 1.5.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

Definition in the specification

Table 343 · Standard layout attributes common to all standard structure types
ISO 32000-1:2008, §14.8.5.4.2 · PDF page 608 ↗

/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 “Content and Allocation Rectangles” in 14.8.5.4, “Layout Attributes”). A positive value enlarges the background area; a negative value trims it, possibly allowing the border to overlap the element’s text or graphic. The value shall be either a single number representing the width of the padding, in default user space units, that applies to all four sides or a 4-element array of numbers representing the padding width for the before, after, start, and end edge, respectively, of the content rectangle. Default value: 0.

Qualifier: Optional; not inheritable; PDF 1.5

Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.

Construction

__construct()

Declared by PDF\Specification\Dictionary\StandardLayoutAttributesCommonToAllStandardStructureTypesTable343\PaddingEntry · View the code ↗

Inherited methods

3 methods from parents and contracts

definition()

public function definition(): PDF\Specification\EntryDefinition

Declared by PDF\Specification\SchemaEntry · View the code ↗

key()

public function key(): PDF\Syntax\Object\NameType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

Properties

Constants