class final readonly Core · roukmoute/pdf 0.7.0

PDF\Graphics\Patterns\Shadings\ShadingFunctions
One n-output function or an ordered array of scalar-output functions (tables 79–84).

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Functions\FunctionObject ...$functions)

Declared by PDF\Graphics\Patterns\Shadings\ShadingFunctions · View the code ↗

Declared methods

validate()

public function validate(int $inputs, int $outputs, PDF\Functions\Domain $domain): void

Declared by PDF\Graphics\Patterns\Shadings\ShadingFunctions · View the code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Declared by PDF\Graphics\Patterns\Shadings\ShadingFunctions · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $functionsPDF\Graphics\Patterns\Shadings\ShadingFunctions
@var non-empty-list<FunctionObject>