enum final Core · roukmoute/pdf 0.6.2

PDF\Graphics\OptionalContent\PageElementType

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Graphics\OptionalContent\PageElementType · View the code ↗

from()

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

Declared by PDF\Graphics\OptionalContent\PageElementType · View the code ↗

tryFrom()

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

Declared by PDF\Graphics\OptionalContent\PageElementType · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Graphics\OptionalContent\PageElementType
public readonly string $valuePDF\Graphics\OptionalContent\PageElementType

Enum cases

  • HeaderFooter = "HF"
  • Foreground = "FG"
  • Background = "BG"
  • Logo = "L"