class final readonly Core · roukmoute/pdf 0.6.2

PDF\Graphics\Patterns\Shadings\MeshFormat
Couples bit widths, Decode and function/sample dimensionality without global encoding state.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Graphics\Patterns\Shadings\MeshDecode $decode, PDF\Graphics\Patterns\Shadings\MeshBitDepths $bits = new MeshBitDepths(), int $maximumBytes = 67108864)

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

Declared methods

validate()

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

writeComponents()

public function writeComponents(PDF\Graphics\Patterns\Shadings\MeshBitWriter $writer, PDF\Functions\NumberArray $components): void

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

writePoint()

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

writeVertex()

public function writeVertex(PDF\Graphics\Patterns\Shadings\MeshBitWriter $writer, PDF\Graphics\Patterns\Shadings\MeshVertex $vertex, ?int $flag = null): void

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

Properties