Table of contents
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
- since: 2026-07-17
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-page
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