class final Core · roukmoute/pdf 0.6.2

PDF\Graphics\XObjects\SoftMaskImage
DeviceGray soft-mask image and conditional parent Matte relation (tables 145/146).

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(PDF\Document\Images\ImageSamples $samples, ?PDF\Graphics\XObjects\MatteColour $matte = null, ?PDF\Graphics\XObjects\ImageDecode $decode = null, PDF\Graphics\XObjects\ImageOptions $options = new ImageOptions(), PDF\Syntax\Filters\Filter ...$filters)

Déclarée par PDF\Graphics\XObjects\SoftMaskImage · Voir le code ↗

Méthodes déclarées

alphaAt()

public function alphaAt(int $x, int $y): PDF\Syntax\Object\NumericType

Déclarée par PDF\Graphics\XObjects\SoftMaskImage · Voir le code ↗

validateParent()

public function validateParent(PDF\Document\Images\ImageSamples $parent, PDF\Graphics\ColourSpaces\ColourSpace $space): void

Déclarée par PDF\Graphics\XObjects\SoftMaskImage · Voir le code ↗

validateParentDimensions()

public function validateParentDimensions(PDF\Document\Images\ImageDimensions $parent, PDF\Graphics\ColourSpaces\ColourSpace $space): void

Déclarée par PDF\Graphics\XObjects\SoftMaskImage · Voir le code ↗

validateVersion()

public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): void

Déclarée par PDF\Graphics\XObjects\SoftMaskImage · Voir le code ↗

Méthodes héritées

4 méthodes des parents et contrats

__toString()

public function __toString(): string

Déclarée par PDF\Syntax\Object\StreamObject · Voir le code ↗

bytes()

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

Déclarée par PDF\Syntax\Object\StreamObject · Voir le code ↗

dictionary()

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

Déclarée par PDF\Syntax\Object\StreamObject · Voir le code ↗

toPdf()

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

Déclarée par PDF\Syntax\Object\StreamObject · Voir le code ↗

Propriétés