TransparencyGroupMode

Backed enum for the per-page transparency /Group emission policy: 'auto' (every standard page except those explicitly flagged as opaque), 'always' or 'never'.

Namespace: Com\Tecnick\Pdf\Page

Backing type: string

File: TransparencyGroupMode.php line 36

Backed enum for the per-page transparency /Group emission policy: ‘auto’ (every standard page except those explicitly flagged as opaque), ‘always’ or ’never’.

Tags

Cases

Auto

File: TransparencyGroupMode.php line 38

Always

File: TransparencyGroupMode.php line 40

Never

File: TransparencyGroupMode.php line 42

Methods

fromLoose()

File: TransparencyGroupMode.php line 53

public static fromLoose(string|self $value) : self

Accepts the canonical value (case-insensitively) or an enum instance (returned unchanged). Unknown values fall back to Auto, matching Page::setPageTransparencyGroupMode().

Parameters

  • $value : string|self: Transparency group mode or enum case.

Return values

self