PdfString
in package
implements
Serializable
Represents a PDF literal string (text) or a hex string <hex>.
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
Methods
- __construct() : mixed
- toPdf() : string
Properties
$hex read-only
public
bool
$hex
= false
$value read-only
public
string
$value
Methods
__construct()
public
__construct(string $value[, bool $hex = false ]) : mixed
Parameters
- $value : string
- $hex : bool = false
toPdf()
public
toPdf() : string