class final readonly Core · roukmoute/pdf 0.6.2

PDF\Graphics\Patterns\Shadings\DecodeInterval
Direction-preserving Decode endpoints, including reversed and constant intervals (8.9.5.2).

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

public function __construct(PDF\Syntax\Object\NumericType $first, PDF\Syntax\Object\NumericType $last)

Déclarée par PDF\Graphics\Patterns\Shadings\DecodeInterval · Voir le code ↗

Méthodes déclarées

decode()

public function decode(int $sample, int $bits): PDF\Syntax\Object\NumericType

Déclarée par PDF\Graphics\Patterns\Shadings\DecodeInterval · Voir le code ↗

domain()

public function domain(): PDF\Functions\NumberInterval

Déclarée par PDF\Graphics\Patterns\Shadings\DecodeInterval · Voir le code ↗

encode()

public function encode(PDF\Syntax\Object\NumericType $number, int $bits): int

Déclarée par PDF\Graphics\Patterns\Shadings\DecodeInterval · Voir le code ↗

Propriétés