enum final Core · roukmoute/pdf 0.7.1

PDF\Graphics\GraphicsState\LineCapStyle
ISO 32000-1, Table 54.

Lire la déclaration source ↗

Héritage et contrats

Interfaces : BackedEnum, UnitEnum

Méthodes déclarées

cases()

public static function cases(): array

Déclarée par PDF\Graphics\GraphicsState\LineCapStyle · Voir le code ↗

from()

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

Déclarée par PDF\Graphics\GraphicsState\LineCapStyle · Voir le code ↗

tryFrom()

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

Déclarée par PDF\Graphics\GraphicsState\LineCapStyle · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly string $namePDF\Graphics\GraphicsState\LineCapStyle
public readonly int $valuePDF\Graphics\GraphicsState\LineCapStyle

Cas de l’enum

  • Butt = 0
  • Round = 1
  • ProjectingSquare = 2