class final Core · roukmoute/pdf 0.6.2

PDF\Graphics\XObjects\FormXObject
Independent native form/proxy XObject, with explicit resources and group context.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(PDF\Syntax\ContentStreamsResources\ContentStreams $contents, PDF\Syntax\DataStructure\Rectangle $boundingBox, PDF\Document\ResourceDictionary $resources, PDF\Graphics\CoordinateSystems\Matrix $matrix = new Matrix(), ?PDF\Graphics\XObjects\TransparencyGroup $group = null, ?PDF\Graphics\XObjects\ReferenceDictionary $reference = null, ?PDF\Graphics\OptionalContent\OptionalContentObject $optionalContent = null, ?PDF\Syntax\Object\IntegerType $structParent = null, ?PDF\Syntax\Object\IntegerType $structParents = null, array $extensions = [], PDF\Syntax\Filters\Filter ...$filters)
@param list<Entry> $extensions

Declared by PDF\Graphics\XObjects\FormXObject · View the code ↗

Inherited methods

4 methods from parents and contracts

__toString()

public function __toString(): string

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

bytes()

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

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

dictionary()

public function dictionary(): PDF\Syntax\Object\DictionaryType

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

toPdf()

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

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

Properties