enum final Core · roukmoute/pdf 0.6.2

PDF\Graphics\Patterns\PaintType
Coloured or stencil cell painting (table 75, PDF page 183).

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Graphics\Patterns\PaintType · View the code ↗

from()

public static function from(string|int $value): static

Declared by PDF\Graphics\Patterns\PaintType · View the code ↗

tryFrom()

public static function tryFrom(string|int $value): ?static

Declared by PDF\Graphics\Patterns\PaintType · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Graphics\Patterns\PaintType
public readonly int $valuePDF\Graphics\Patterns\PaintType

Enum cases

  • Coloured = 1
  • Uncoloured = 2