class final readonly Core · roukmoute/pdf 0.6.2
PDF\Graphics\Patterns\Shadings\DecodeIntervalDirection-preserving Decode endpoints, including reversed and constant intervals (8.9.5.2).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)Méthodes déclarées
decode()
public function decode(int $sample, int $bits): PDF\Syntax\Object\NumericTypedomain()
public function domain(): PDF\Functions\NumberIntervalencode()
public function encode(PDF\Syntax\Object\NumericType $number, int $bits): intPropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\Object\NumericType $first | PDF\Graphics\Patterns\Shadings\DecodeInterval |
public readonly PDF\Syntax\Object\NumericType $last | PDF\Graphics\Patterns\Shadings\DecodeInterval |