class final readonly Core · roukmoute/pdf 0.6.2

PDF\Graphics\Patterns\Shadings\LatticeMesh
Ordered, complete rows with their source-defined triangle topology (type 5, pages 201–202).

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Syntax\Object\IntegerType $verticesPerRow, PDF\Graphics\Patterns\Shadings\MeshVertex ...$vertices)

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

Declared methods

bytes()

public function bytes(PDF\Graphics\Patterns\Shadings\MeshFormat $format): string

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

triangles()

public function triangles(): array
@return non-empty-list<FreeFormTriangle>

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

Properties

DeclarationOrigin and documentation
public readonly array $verticesPDF\Graphics\Patterns\Shadings\LatticeMesh
@var non-empty-list<MeshVertex>
public readonly PDF\Syntax\Object\IntegerType $verticesPerRowPDF\Graphics\Patterns\Shadings\LatticeMesh