class final Core · roukmoute/pdf 0.6.2
PDF\Document\Navigation\LocalDestinationThe existing eight explicit destinations, with local ownership and actual fitting math.Inheritance and contracts
Parent : PDF\Document\Destinations\Destination
Interfaces : Countable, IteratorAggregate, PDF\Document\DocumentGraphComponent, PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Construction
__construct()
public function __construct(PDF\Document\Destinations\Destination $destination)Declared methods
resolve()
public function resolve(PDF\Document\Navigation\DestinationViewport $viewport, PDF\Document\Navigation\DestinationGeometry $geometry): PDF\Document\Navigation\ViewPositionTable151 math; renderer rotation and physical screen transforms are caller inputs.validateCatalog()
public function validateCatalog(PDF\Syntax\Object\DictionaryType $catalog): voidvalidateGraph()
public function validateGraph(PDF\Document\DocumentGraphContext $graph): voidvalidateVersion()
public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): voidInherited methods
4 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intgetIterator()
public function getIterator(): TraversabletoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringProperties
| Declaration | Origin and documentation |
|---|---|
public readonly array $items | PDF\Syntax\Object\ArrayType@var list<BasicType> |
public readonly string $mode | PDF\Document\Navigation\LocalDestination |
public readonly PDF\Syntax\DocumentStructure\PageTree\PageObject $page | PDF\Document\Navigation\LocalDestination |