class final Core · roukmoute/pdf 0.6.1
PDF\Graphics\XObjects\ImageMaskOne-bit stencil image; absent ColorSpace/Mask/SMask is enforced (8.9.6.2).Héritage et contrats
Parent : PDF\Syntax\Object\StreamObject
Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable
Construction
__construct()
public function __construct(PDF\Document\Images\ImageSamples $samples, PDF\Syntax\Object\BooleanType $inverted = new BooleanType(false), PDF\Graphics\XObjects\ImageOptions $options = new ImageOptions(), PDF\Syntax\Filters\Filter ...$filters)Méthodes déclarées
paints()
public function paints(int $x, int $y): boolMéthodes héritées
4 méthodes des parents et contrats
__toString()
public function __toString(): stringbytes()
public function bytes(PDF\Serialization\SerializationContext $context): stringdictionary()
public function dictionary(): PDF\Syntax\Object\DictionaryTypetoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringPropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\ContentStreamsResources\ContentStreams|string $data | PDF\Syntax\Object\StreamObject |
public readonly array $filters | PDF\Syntax\Object\StreamObject@var list<Filter> |
public readonly PDF\Syntax\Object\BooleanType $inverted | PDF\Graphics\XObjects\ImageMask |
public readonly PDF\Document\Images\ImageSamples $samples | PDF\Graphics\XObjects\ImageMask |