enum final Core · roukmoute/pdf 0.6.2

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

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Graphics\GraphicsState\LineCapStyle · View the code ↗

from()

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

Declared by PDF\Graphics\GraphicsState\LineCapStyle · View the code ↗

tryFrom()

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

Declared by PDF\Graphics\GraphicsState\LineCapStyle · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Graphics\GraphicsState\LineCapStyle
public readonly int $valuePDF\Graphics\GraphicsState\LineCapStyle

Enum cases

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