class final Core · roukmoute/pdf 0.6.1
PDF\Specification\Dictionary\StandardLayoutAttributesSpecificToInlineLevelStructureElementsTable345\BaselineShiftEntryTable 345, /BaselineShift; PDF type: number; Optional; not inheritable.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 345 · Standard layout attributes specific to inline-level structure elements
ISO 32000-1:2008, §14.8.5.4.4 · PDF page 612 ↗
/BaselineShift number
(Optional; not inheritable) The distance, in default user space units, by which the element’s baseline shall be shifted relative to that of its parent element. The shift direction shall be the opposite of the block-progression direction specified by the prevailing WritingMode attribute (see “General Layout Attributes” in 14.8.5.4, “Layout Attributes”). Thus, positive values shall shift the baseline toward the before edge and negative values toward the after edge of the reference area (upward and downward, respectively, in Western writing systems). Default value: 0. The shifted element may be a superscript, a subscript, or an inline graphic. The shift shall apply to the element, its content, and all of its descendants. Any further baseline shift applied to a child of this element shall be measured relative to the shifted baseline of this (parent) element.
Qualifier: Optional; not inheritable
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NumericType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and 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 |