Table of contents
Namespace: Com\Tecnick\Pdf\Page
enum TransparencyGroupMode: string
Source: src/TransparencyGroupMode.php:36
Backed enum for the per-page transparency /Group emission policy: ‘auto’ (every standard page except those explicitly flagged as opaque), ‘always’ or ’never’.
Cases
Methods
fromLoose()
Resolve a loose transparency group mode value to the matching enum case.
Accepts the canonical value (case-insensitively) or an enum instance (returned unchanged). Unknown values fall back to Auto, matching Page::setPageTransparencyGroupMode().
public static fromLoose(string|self $value): self
Parameters:
$value(string|self): Transparency group mode or enum case.
Returns: self
Source: src/TransparencyGroupMode.php:53