class final Core · roukmoute/pdf 0.6.1

PDF\Syntax\Linearization\FixedWidthOffset
A direct integer whose ten-byte spelling keeps two-pass layout stable.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\IntegerType

Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(int $value)

Declared by PDF\Syntax\Linearization\FixedWidthOffset · View the code ↗

Declared methods

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Linearization\FixedWidthOffset · View the code ↗

Inherited methods

2 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\NumericType · View the code ↗

integer()

public final function integer(): int
Return the integer leaf without widening it to the parent number's float union.

Declared by PDF\Syntax\Object\IntegerType · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly int|float $valuePDF\Syntax\Object\NumericType