AppearanceCharacteristics
in package
implements
Serializable
PDF Widget annotation appearance characteristics (ISO 32000-2 Table 192).
Describes the visual characteristics of a widget annotation's appearance. Assigned to the /MK entry of widget annotation dictionaries.
Example: $mk = new AppearanceCharacteristics(); $mk->r = 90; $mk->bc = new PdfArray([new PdfNumber(0), new PdfNumber(0), new PdfNumber(0)]); $mk->ca = new PdfString('Submit'); $widget->mk = $mk;
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_2
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
- $ac : PdfString|null
- $bc : PdfArray|null
- $bg : PdfArray|null
- $ca : PdfString|null
- $i : PdfReference|null
- $if_ : PdfDictionary|null
- $ix : PdfReference|null
- $r : int|null
- $rc : PdfString|null
- $ri : PdfReference|null
- $tp : int|null
Methods
- toPdf() : string
Properties
$ac
public
PdfString|null
$ac
= null
$bc
public
PdfArray|null
$bc
= null
$bg
public
PdfArray|null
$bg
= null
$ca
public
PdfString|null
$ca
= null
$i
public
PdfReference|null
$i
= null
$if_
public
PdfDictionary|null
$if_
= null
$ix
public
PdfReference|null
$ix
= null
$r
public
int|null
$r
= null
$rc
public
PdfString|null
$rc
= null
$ri
public
PdfReference|null
$ri
= null
$tp
public
int|null
$tp
= null
Methods
toPdf()
public
toPdf() : string