Table of contents
Namespace: Com\Tecnick\Pdf\Signature
Backing type: string
File: SignatureAppearanceMode.php line 37
Backed enum for the signature widget appearance stream slot: N (normal), R (rollover) or D (down), as validated by Tcpdf::setSignatureAppearanceStream().
Tags
- since: 2026-07-17
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2002-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
Cases
Normal
File: SignatureAppearanceMode.php line 40
Rollover
File: SignatureAppearanceMode.php line 43
Down
File: SignatureAppearanceMode.php line 46
Methods
fromLoose()
File: SignatureAppearanceMode.php line 58
public static fromLoose(string|self $value) : self
Accepts N, R or D (case-insensitive) or an enum instance (returned unchanged). Unknown values throw, matching setSignatureAppearanceStream().
Parameters
- $value : string|self: Appearance mode or enum case.
Tags
- throws: Exception if the value is not N, R or D.
Return values
self