class final readonly Optional · pdftoolkit/pdf-to-html 0.8.4
PDF\Html\Model\GraphicProgramOne shared content program and an inclusive selected range, with its original rendering context.
boundingBox is in physical PDF points after initialMatrix; it must not be transformed a second time.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(array $instructions, PDF\Syntax\Object\DictionaryType $resources, PDF\Reading\ReadDocument $document, PDF\Html\Reading\ContentMatrix $initialMatrix, int $page, ?array $boundingBox, string $container, int $firstInstruction, int $lastInstruction, ?PDF\Syntax\Object\DictionaryType $initialFont = null, ?self $parent = null, ?PDF\Reading\EncodedStream $stream = null, ?PDF\Reading\ReadPage $pageContext = null)@param list<ContentInstruction> $instructions
@param null|array{float, float, float, float} $boundingBoxDeclared methods
withRange()
public function withRange(int $firstInstruction, int $lastInstruction): selfProperties
| Declaration | Origin and documentation |
|---|---|
public readonly ?array $boundingBox | PDF\Html\Model\GraphicProgram |
public readonly string $container | PDF\Html\Model\GraphicProgram |
public readonly PDF\Reading\ReadDocument $document | PDF\Html\Model\GraphicProgram |
public readonly int $firstInstruction | PDF\Html\Model\GraphicProgram |
public readonly ?PDF\Syntax\Object\DictionaryType $initialFont | PDF\Html\Model\GraphicProgram |
public readonly PDF\Html\Reading\ContentMatrix $initialMatrix | PDF\Html\Model\GraphicProgram |
public readonly array $instructions | PDF\Html\Model\GraphicProgram |
public readonly int $lastInstruction | PDF\Html\Model\GraphicProgram |
public readonly int $page | PDF\Html\Model\GraphicProgram |
public readonly ?PDF\Reading\ReadPage $pageContext | PDF\Html\Model\GraphicProgram |
public readonly ?self $parent | PDF\Html\Model\GraphicProgram |
public readonly PDF\Syntax\Object\DictionaryType $resources | PDF\Html\Model\GraphicProgram |
public readonly ?PDF\Reading\EncodedStream $stream | PDF\Html\Model\GraphicProgram |